Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob committed Nov 22, 2024
1 parent 6e71a61 commit 2ef9180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/avo/associations_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def reflection_class
end

def authorize_if_defined(method, record = @record)
return true unless Avo.configuration.authorization_enabled?
return unless Avo.configuration.authorization_enabled?

@authorization.set_record(record)

Expand Down

0 comments on commit 2ef9180

Please sign in to comment.