Skip to content

Commit

Permalink
Merge pull request #14966 from opf/fix-users-resolution
Browse files Browse the repository at this point in the history
fix Users resolution in lib/open_project/ui/extensible_tabs.rb
  • Loading branch information
cbliard authored Mar 11, 2024
2 parents c489316 + 1507297 commit 97bcd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/open_project/ui/extensible_tabs.rb
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ def core_user_tabs
path: ->(params) { edit_user_path(params[:user], tab: :general) },
label: :label_general,
only_if: ->(context) {
Users::UpdateContract.new(context[:user], context[:current_user]).allowed_to_update?
::Users::UpdateContract.new(context[:user], context[:current_user]).allowed_to_update?
}
},
{
Expand Down

0 comments on commit 97bcd5e

Please sign in to comment.