examples/sample_app/dist/app/controllers/posts.rb in merb-0.0.5 vs examples/sample_app/dist/app/controllers/posts.rb in merb-0.0.6

- old
+ new

@@ -1,17 +1,19 @@ class Posts < Merb::Controller def new + #session[:foo] = 'bar' render end def create @post = Post.create( :title => params[:title], :body => params[:body]) redirect "/posts/show/#{@post.id}" end def show + #puts session[:foo] @post = Post.find params[:id] @comments = @post.comments render end \ No newline at end of file