Skip to content

Commit

Permalink
Remove unused filter statement
Browse files Browse the repository at this point in the history
  • Loading branch information
jorg-vr committed Nov 13, 2024
1 parent e7a4ac7 commit 0c2bc88
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion app/controllers/courses_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ def show
# GET /courses/new
def new
authorize Course
@filters = filters(Course.all)
if params[:copy_options]&.fetch(:base_id).present?
@copy_options = copy_options
@copy_options[:base] = Course.find(@copy_options[:base_id])
Expand Down

0 comments on commit 0c2bc88

Please sign in to comment.