diff --git a/app/controllers/notes_controller.rb b/app/controllers/notes_controller.rb index febf097c2..8df8b85f7 100644 --- a/app/controllers/notes_controller.rb +++ b/app/controllers/notes_controller.rb @@ -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