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)
end
options["data-is_public"] = @query.is_public
options["data-update-url"] = url_for(:action => "update",
:controller => @engine.name.underscore.pluralize,
:id => @query.id).html_safe
options["data-update-url"] = url_for(:action => "update", :id => @query.id).html_safe
end
content_tag(:span, name, :id => "query_saved_name") + icon
end

Loading…
Cancel
Save