Add access control and :forbidden error handling

This commit is contained in:
2023-04-24 23:08:55 +02:00
parent 461f0bb812
commit 634ba7e901
5 changed files with 41 additions and 23 deletions

View File

@@ -31,6 +31,8 @@ module FixinMe
# config.time_zone = "Central Time (US & Canada)"
# config.eager_load_paths << Rails.root.join("extras")
config.action_dispatch.rescue_responses['ApplicationController::AccessForbidden'] = :forbidden
# SETUP: Below settings need to be updated on a per-installation basis.
#
# URL to use in sent e-mails.