diff options
| author | jpl | 2017-04-04 13:46:11 +0200 | 
|---|---|---|
| committer | jpl | 2017-04-04 13:46:53 +0200 | 
| commit | 3ee2b65fb1171c4c401ee26ba1d0b485548c28f8 (patch) | |
| tree | 807fe25dd6579bc1fc9a9586a2b9b75e5ee9e270 /config/routes.rb | |
| parent | 055fa0b56c0a47482f098af079b5e0929be56acd (diff) | |
| download | chouette-core-3ee2b65fb1171c4c401ee26ba1d0b485548c28f8.tar.bz2 | |
Refs #3033: adding 403 view
Diffstat (limited to 'config/routes.rb')
| -rw-r--r-- | config/routes.rb | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/config/routes.rb b/config/routes.rb index 33f3961b1..12dbf0986 100644 --- a/config/routes.rb +++ b/config/routes.rb @@ -211,8 +211,9 @@ ChouetteIhm::Application.routes.draw do    get '/help/(*slug)' => 'help#show' -  get '/404', :to => 'errors#not_found' -  get '/422', :to => 'errors#server_error' -  get '/500', :to => 'errors#server_error' +  get '/404', to: 'errors#not_found' +  get '/403', to: 'errors#not_allowed' +  get '/422', to: 'errors#server_error' +  get '/500', to: 'errors#server_error'  end  | 
