From: John Firebaugh Date: Fri, 7 Sep 2012 08:26:44 +0000 (+0100) Subject: Use a param to trigger export rather than a separate action X-Git-Tag: live~5414 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/8ec415b060c4321fad3fa42f3038148aa94c9b90?hp=8ec415b060c4321fad3fa42f3038148aa94c9b90;ds=sidebyside Use a param to trigger export rather than a separate action 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. ---