]> git.openstreetmap.org Git - rails.git/commitdiff
Use named constants for HTTP response codes.
authorTom Hughes <tom@compton.nu>
Sat, 23 Feb 2008 15:35:14 +0000 (15:35 +0000)
committerTom Hughes <tom@compton.nu>
Sat, 23 Feb 2008 15:35:14 +0000 (15:35 +0000)
app/controllers/export_controller.rb [new file with mode: 0644]

diff --git a/app/controllers/export_controller.rb b/app/controllers/export_controller.rb
new file mode 100644 (file)
index 0000000..f1c6286
--- /dev/null
@@ -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