diff options
| author | Vlatka Pavisic | 2017-04-25 16:00:32 +0200 | 
|---|---|---|
| committer | Vlatka Pavisic | 2017-04-25 16:00:41 +0200 | 
| commit | 5848e03e9655d74cdea84eb66286cf7696ee2ee4 (patch) | |
| tree | 2ad273711ec9e3447bac1e5dfc80b8143de8e20f /app/controllers/errors_controller.rb | |
| parent | 389b10c7ad29f7a7c085d3c361144450ba10fcd5 (diff) | |
| download | chouette-core-5848e03e9655d74cdea84eb66286cf7696ee2ee4.tar.bz2 | |
Refs #3033 : Redirect to 403 page if not authorised
Diffstat (limited to 'app/controllers/errors_controller.rb')
| -rw-r--r-- | app/controllers/errors_controller.rb | 2 | 
1 files changed, 1 insertions, 1 deletions
| 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 | 
