]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/_edit_menu.html.erb
Allow iD and Potlatch 2 to load assets outside the asset pipeline
[rails.git] / app / views / layouts / _edit_menu.html.erb
index 78c5dbb65c50d1195a88869067245550f203943e..b7d9d7fdfef53509e4ae404ff727c3587f8e424a 100644 (file)
@@ -1,6 +1,7 @@
 <div class="dropdown edit_menu">
   <%= link_to link_text, edit_path,
               :id => 'editanchor',
+              :data => { :editor => preferred_editor },
               :class => "geolink tab #{link_class}" %>
   <a class='dropdown-toggle' data-toggle='dropdown' href='#'>
     <b class="caret"></b>