Use ajax form for artist commentary
This prevents the parameters (eg. ?tags=whatever) from being eaten on submit.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user