errors_controller.rb 177 B

12345
  1. class ErrorsController < ApplicationController
  2. def routing
  3. not_found(ActionController::RoutingError.new("No route matches [#{request.method}] #{request.path}"))
  4. end
  5. end