Use ajax form for artist commentary

This prevents the parameters (eg. ?tags=whatever) from being eaten on
submit.
This commit is contained in:
Toks
2013-11-21 21:07:45 -05:00
parent 7946002cd2
commit 2a0910ca11
3 changed files with 3 additions and 2 deletions

View File

@@ -11,7 +11,7 @@ class ArtistCommentariesController < ApplicationController
@artist_commentary = ArtistCommentary.create(params[:artist_commentary])
end
respond_with(@artist_commentary.post)
respond_with(@artist_commentary)
end
def revert