]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Use a param to trigger export rather than a separate action
[rails.git] / app / views / site / index.html.erb
index 877bc177190a471cd747a52ceb4c21031783b274..4e725f90679efc680e1bbaabe112aa52595f4de8 100644 (file)
@@ -291,7 +291,7 @@ end
       e.preventDefault();
     });
 
-    <% if params[:action] == 'export' -%>
+    <% if params[:export] -%>
     $("#exportanchor").click();
     <% end -%>