Skip to content

Commit

Permalink
Fixes #10355 - Prevent turbolinks loading puppetclass import
Browse files Browse the repository at this point in the history
  • Loading branch information
tbrisker authored and Dominic Cleal committed May 18, 2015
1 parent bc9558f commit df8887a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/helpers/puppetclasses_and_environments_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ def import_proxy_select(hash)

def import_proxy_links(hash, classes = nil)
SmartProxy.with_features("Puppet").map do |proxy|
display_link_if_authorized(_("Import from %s") % proxy.name, hash.merge(:proxy => proxy), :class=>classes)
display_link_if_authorized(_("Import from %s") % proxy.name, hash.merge(:proxy => proxy), {:class=>classes, :"data-no-turbolink" => true})
end.flatten
end

Expand Down

0 comments on commit df8887a

Please sign in to comment.