This commit is contained in:
albert
2013-03-13 12:28:08 -04:00
parent 3a74990474
commit c8e7187b5b

View File

@@ -23,7 +23,7 @@ class NotesController < ApplicationController
@note = Note.create(params[:note])
respond_with(@note) do |fmt|
fmt.json do
render :json => @note.to_json(:methods => :html_id)
render :json => @note.to_json(:methods => [:html_id])
end
end
end