Code cleanup in CommentsController
authorMarius Mathiesen <marius@shortcut.no>
Mon, 12 Oct 2009 10:22:13 +0000 (12:22 +0200)
committerJohan Sørensen <johan@johansorensen.com>
Wed, 4 Nov 2009 14:23:21 +0000 (15:23 +0100)
commitd7a184c7762eb74ad34896eaa6b46c230b84c9c0
tree379addaf8a48ca2fc9b772c96df4e9ebc10d2fd7
parent93af6da17cdd98ee7d61fdeb7975a7eb0ac3fdfa
Code cleanup in CommentsController

Note: all ajax requests are now sent with text/javascript Accept headers. This means they are interpreted as format.js in
the controllers
app/controllers/comments_controller.rb
public/javascripts/application.js
test/functional/comments_controller_test.rb