]> git.openstreetmap.org Git - rails.git/commitdiff
Use a param to trigger export rather than a separate action
authorJohn Firebaugh <john.firebaugh@gmail.com>
Fri, 7 Sep 2012 08:26:44 +0000 (09:26 +0100)
committerTom Hughes <tom@compton.nu>
Fri, 7 Sep 2012 08:27:59 +0000 (09:27 +0100)
In site/_resize.html.erb and site/_search.html.erb, a
params[:action] conditional is used to include code that
should only run on the index action -- but it should be run
on the export action too. Cleanest fix is to eliminate that
action entirely.


No differences found