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(?)

This commit is contained in:
Dan Buch 2011-08-09 06:55:17 -04:00
parent 3f5e481906
commit 391a4c186f

View File

@ -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