zammad/app/controllers/errors_controller.rb
2017-02-24 15:02:30 +01:00

6 lines
217 B
Ruby

class ErrorsController < ApplicationController
skip_before_action :verify_csrf_token
def routing
not_found(ActionController::RoutingError.new("No route matches [#{request.method}] #{request.path}"))
end
end