Skip to content

Commit

Permalink
Attempting to find source of error for authorization exception messages
Browse files Browse the repository at this point in the history
  • Loading branch information
deepsidhu85 committed Dec 20, 2024
1 parent 5aef8a5 commit 9546636
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/policies/application_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,11 @@ class ApplicationPolicy < ActionPolicy::Base
# record.user_id == user.id
# end
#
attr_accessor :details

def initialize(record = nil, **params)
super
@details ||= {}
end
# attr_accessor :details

# def initialize(record = nil, **params)
# super
# @details ||= {}
# end
end

0 comments on commit 9546636

Please sign in to comment.