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?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs