class Test < Merb::Controller #before :authenticate #before lambda{|c| puts 'lambda filter called'} def bfilter puts "Filter Called!" #throw :halt end def hello # Assign the parameter to an instance variable @name = params[:id] render end def glob "

#{params[:rest]}

" end def json @post = Post.find :first render_js end def rails puts session.inspect session[:foo] end def foo @args = params render end def to_s "Test controller, no mathing action" end end