sumanta
2012-Sep-06 07:49 UTC
ActionController::DoubleRenderError in Controls/itemsController#update Can only render or redirect
responds_to_parent do
render :update do |page|
page << "tb_remove"
item_link = params[:controller].eql?("compliance_items")
?
edit_compliance_compliance_item_path(master, @master_item) :
edit_controls_item_path(@master_item)
# page.redirect_to(item_link +
"?token=#{params[:token]}")
end
end
Hi in the above code I am gettign double render error(subject line is the
error )... can anybody please help?
--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit
https://groups.google.com/d/msg/rubyonrails-talk/-/qnL3MyGvk50J.
For more options, visit https://groups.google.com/groups/opt_out.