add way to raise error; funny 500 status message

This commit is contained in:
jomo
2014-06-29 07:10:13 +02:00
parent b9592da5a9
commit 4c21ea1859
3 changed files with 7 additions and 1 deletions

View File

@@ -14,4 +14,8 @@ class StaticsController < ApplicationController
def donate
end
def raise_500
raise "Someone called /raise_500! OMG!"
end
end