From 5848e03e9655d74cdea84eb66286cf7696ee2ee4 Mon Sep 17 00:00:00 2001 From: Vlatka Pavisic Date: Tue, 25 Apr 2017 16:00:32 +0200 Subject: Refs #3033 : Redirect to 403 page if not authorised --- app/controllers/errors_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/controllers/errors_controller.rb') diff --git a/app/controllers/errors_controller.rb b/app/controllers/errors_controller.rb index 94e0d7b4c..252b8fdfa 100644 --- a/app/controllers/errors_controller.rb +++ b/app/controllers/errors_controller.rb @@ -7,7 +7,7 @@ class ErrorsController < ApplicationController render status: 500 end - def not_allowed + def forbidden render status: 403 end end -- cgit v1.2.3