class ActionDispatch::Routing::Mapper

Public Instance Methods

exceptionally_beautiful_routes() click to toggle source
# File lib/exceptionally_beautiful/routes.rb, line 5
def exceptionally_beautiful_routes
  match '(errors)/:status', :to => "#{ExceptionallyBeautiful.controller}##{ExceptionallyBeautiful.action}",
                            :constraints => ExceptionallyBeautiful::RoutingConstraint.new, :via => :all,
                            :as => :exceptionally_beautiful_error
end