Class: Admin::ErrorsController

Inherits:
BaseController
  • Object
show all
Defined in:
lib/generators/infold/templates/install/app/controllers/admin/errors_controller.rb

Instance Method Summary collapse

Instance Method Details

#routing_errorObject

Raises:

  • (ActionController::RoutingError)


3
4
5
6
# File 'lib/generators/infold/templates/install/app/controllers/admin/errors_controller.rb', line 3

def routing_error
  raise ActionController::RoutingError,
        "No routes matches #{request.path.inspect}"
end