fix url_for call

pull/6827/head
Tim Felgentreff 14 years ago
parent ec236411e5
commit bcd0198bf1
  1. 4
      lib/widget/controls/query_name.rb

@ -11,9 +11,7 @@ class Widget::Controls::QueryName < Widget::Base
l(:button_rename) l(:button_rename)
end end
options["data-is_public"] = @query.is_public options["data-is_public"] = @query.is_public
options["data-update-url"] = url_for(:action => "update", options["data-update-url"] = url_for(:action => "update", :id => @query.id).html_safe
:controller => @engine.name.underscore.pluralize,
:id => @query.id).html_safe
end end
content_tag(:span, name, :id => "query_saved_name") + icon content_tag(:span, name, :id => "query_saved_name") + icon
end end

Loading…
Cancel
Save