Module: Trax::Controller::Authorization::Pundit::Actions::Show

Extended by:
ActiveSupport::Concern
Defined in:
lib/trax/controller/authorization/pundit/actions/show.rb

Instance Method Summary collapse

Instance Method Details

#show(*args, **options) ⇒ Object



9
10
11
12
# File 'lib/trax/controller/authorization/pundit/actions/show.rb', line 9

def show(*args, **options)
  authorize(resource)
  super(*args, **options)
end