Module: Releaf::ActionController::Exceptions

Extended by:
ActiveSupport::Concern
Included in:
Releaf::ActionController
Defined in:
app/lib/releaf/action_controller/exceptions.rb

Instance Method Summary collapse

Instance Method Details

#access_deniedObject



13
14
15
# File 'app/lib/releaf/action_controller/exceptions.rb', line 13

def access_denied
  respond_with(nil, responder: action_responder(:access_denied))
end

#page_not_foundObject



9
10
11
# File 'app/lib/releaf/action_controller/exceptions.rb', line 9

def page_not_found
  respond_with(nil, responder: action_responder(:page_not_found))
end