Class: Decidim::ErrorsController

Inherits:
ApplicationController show all
Defined in:
app/controllers/decidim/errors_controller.rb

Instance Method Summary collapse

Methods included from HttpCachingDisabler

#disable_http_caching

Methods included from NeedsOrganization

enhance_controller, extended, included

Instance Method Details

#internal_server_errorObject



9
10
11
# File 'app/controllers/decidim/errors_controller.rb', line 9

def internal_server_error
  render status: :internal_server_error
end

#not_foundObject



5
6
7
# File 'app/controllers/decidim/errors_controller.rb', line 5

def not_found
  render status: :not_found
end