trabajo-afectivo/app/controllers/errors_controller.rb

8 lines
293 B
Ruby

# Copyright (C) 2012-2021 Zammad Foundation, http://zammad-foundation.org/
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