trabajo-afectivo/app/controllers/errors_controller.rb

7 lines
217 B
Ruby
Raw Normal View History

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