Skip to content

Commit

Permalink
Rubocop
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Laddusaw committed Aug 13, 2024
1 parent 370f1df commit d8d79ed
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/locker_applications_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def toggle_archived
redirect_back(fallback_location: awaiting_assignment_locker_applications_path)
end

# rubocop:disable Metrics/AbcSize
# rubocop:disable Metrics/AbcSize, Metrics/CyclomaticComplexity
# POST /locker_applications or /locker_applications.json
def create
@locker_application = LockerApplication.new(locker_application_params)
Expand All @@ -55,7 +55,7 @@ def create
@locker_application.complete = true if current_user.admin? || !Flipflop.lewis_patrons?
update_or_create(@locker_application.save, message: 'Locker application was successfully created.', method: :new)
end
# rubocop:enable Metrics/AbcSize
# rubocop:enable Metrics/AbcSize, Metrics/CyclomaticComplexity

# PATCH/PUT /locker_applications/1 or /locker_applications/1.json
def update
Expand Down

0 comments on commit d8d79ed

Please sign in to comment.