From c8e7187b5b05951e43f9af97f6802540f8f9ee8c Mon Sep 17 00:00:00 2001 From: albert Date: Wed, 13 Mar 2013 12:28:08 -0400 Subject: [PATCH] fixes #864 --- app/controllers/notes_controller.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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