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
  render "releaf/error_pages/forbidden", status: :forbidden, formats: :html
end

#page_not_foundObject


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

def page_not_found
  render "releaf/error_pages/page_not_found", status: :not_found, formats: :html
end