summaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
authorAzul <azul@leap.se>2014-05-06 09:50:46 +0200
committerAzul <azul@leap.se>2014-05-19 14:23:25 +0200
commitb298cea527f74f682d24defee360e0f45f47d125 (patch)
treed2988d37c9d3bdb02d9e0b36eb1bc61ca0782f1f /config/routes.rb
parent8f9e6d294c78a4c3c2336ca4386fda3e20b2d365 (diff)
little bit of documentation
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index f92c704..9e0b72d 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -6,6 +6,10 @@ LeapWeb::Application.routes.draw do
root :to => "home#index"
get '(:locale)' => 'home#index', :locale => MATCH_LOCALE, :as => 'home'
+ #
+ # HTTP Error Handling
+ # instead of the default error pages use the errors controller and views
+ #
match '/404' => 'errors#not_found'
match '/500' => 'errors#server_error'