Permalink
Browse files

error problems

  • Loading branch information...
1 parent 23627b1 commit 98b796abc43b3fce1cc881fc03eafe26539bd770 @vDubG committed Jul 19, 2012
Showing with 0 additions and 28 deletions.
  1. +0 −28 app/controllers/error.rb
@@ -10,33 +10,5 @@
erb :"error/500error"
end
-error UserNotFound do
- erb :"error/usererror"
-end
-
-error Maintence do
- erb :"error/maintenceerror"
-end
-
-error Update do
- erb :"error/updateerror"
-end
-
-error NotFoundDefault do
- erb :"error/notfounderror"
-end
-error Silly do
- erb :"error/sillyerror"
-end
-
-error Banned do
- erb :"error/bannedusererror"
-end
-
-error CustomMessage do
- @problem = env['sinatra.error'].message
-
- erb :"error/custommessageerror"
-end

0 comments on commit 98b796a

Please sign in to comment.