trying to trigger the :except trigger handler thingy, but apparently I am in some sort of dev mode where exceptions are caught in another way(?)

cat-town
Dan Buch 13 years ago
parent 3f5e481906
commit 391a4c186f

@ -1,7 +1,10 @@
class FooController < ApplicationController class FooController < ApplicationController
layout 'bar' layout 'bar', :except => 'count'
def index def index
if request["die"]
throw Exception.new 'omg huh?'
end
end end
def count def count

Loading…
Cancel
Save