Refactor /calendars into it's own controller

Spec it out too
This commit is contained in:
Henne Vogelsang 2021-03-08 13:18:03 +01:00
parent 6e276b2787
commit f23d1f04b5
No known key found for this signature in database
GPG key ID: 97DDB66BDAF8D4D6
7 changed files with 128 additions and 74 deletions

View file

@ -535,7 +535,9 @@ Metrics/AbcSize:
# Configuration parameters: CountComments, CountAsOne, AllowedMethods, AllowedPatterns, inherit_mode.
# AllowedMethods: refine
Metrics/BlockLength:
Max: 202
Exclude:
- 'config/routes.rb'
Max: 100
# Offense count: 1
# Configuration parameters: CountBlocks, CountModifierForms.
@ -1435,7 +1437,7 @@ Rails/RedundantPresenceValidationOnBelongsTo:
# Offense count: 2
Rails/RenderInline:
Exclude:
- 'app/controllers/conferences_controller.rb'
- 'app/controllers/calendars_controller.rb'
- 'app/controllers/schedules_controller.rb'
# Offense count: 10