trabajo-afectivo/app/controllers/errors_controller.rb

9 lines
294 B
Ruby
Raw Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://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