From: Tom Hughes Date: Sat, 23 Feb 2008 15:35:14 +0000 (+0000) Subject: Use named constants for HTTP response codes. X-Git-Tag: live~7852 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/071b0be2417ca182d9f7bc7abc71b83ebf532399?ds=sidebyside Use named constants for HTTP response codes. --- diff --git a/app/controllers/export_controller.rb b/app/controllers/export_controller.rb new file mode 100644 index 000000000..f1c6286ce --- /dev/null +++ b/app/controllers/export_controller.rb @@ -0,0 +1,8 @@ +class ExportController < ApplicationController + def start + render :update do |page| + page.replace_html :sidebar_content, :partial => 'start' + page.call "openSidebar" + end + end +end