Skip to content

Commit

Permalink
Add example HTTP 500 handler to routes
Browse files Browse the repository at this point in the history
  • Loading branch information
Evan Miller committed Feb 20, 2012
1 parent 3bf684f commit 08f00e2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions skel/priv/boss.routes
Expand Up @@ -15,3 +15,6 @@

% 404 File Not Found handler
% {404, [{controller, "world"}, {action, "lost"}]}.

% 500 Internal Error handler (only invoked in production)
% {500, [{controller, "world"}, {action, "calamity"}]}.

0 comments on commit 08f00e2

Please sign in to comment.