Skip to content

Commit

Permalink
missing keyword
Browse files Browse the repository at this point in the history
  • Loading branch information
as-op committed Aug 27, 2024
1 parent 570f274 commit dbed848
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/work_packages_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class WorkPackagesController < ApplicationController
:project, only: :show
before_action :load_and_authorize_in_optional_project,
:check_allowed_export,
:protect_from_unauthorized_export, %i[index export_dialog]
:protect_from_unauthorized_export, only: %i[index export_dialog]
authorization_checked! :index, :show, :export_dialog

before_action :load_and_validate_query, only: :index, unless: -> { request.format.html? }
Expand Down

0 comments on commit dbed848

Please sign in to comment.