Fix Rubocop offenses

This commit is contained in:
Sebastian Serth
2022-10-24 12:10:10 +02:00
parent b32bf1232b
commit c75f52f2c8
20 changed files with 222 additions and 222 deletions

View File

@ -17,6 +17,8 @@ class ExerciseCollectionsController < ApplicationController
authorize!
end
def edit; end
def create
@exercise_collection = ExerciseCollection.new
authorize!
@ -24,18 +26,16 @@ class ExerciseCollectionsController < ApplicationController
update_and_respond(object: @exercise_collection, params: exercise_collection_params)
end
def destroy
authorize!
destroy_and_respond(object: @exercise_collection)
end
def edit; end
def update
authorize!
update_and_respond(object: @exercise_collection, params: exercise_collection_params)
end
def destroy
authorize!
destroy_and_respond(object: @exercise_collection)
end
def statistics; end
private