]> git.openstreetmap.org Git - rails.git/blobdiff - app/controllers/site_controller.rb
Rename the ugly "id_iframe" to just plain "id"
[rails.git] / app / controllers / site_controller.rb
index 1ea3f7cb0ac6f8fb4adb34d044a2841f2d9656d0..0e26185a1e34325a5fecb87ec3d50856e7a18a7a 100644 (file)
@@ -65,4 +65,8 @@ class SiteController < ApplicationController
   def preview
     render :text => RichText.new(params[:format], params[:text]).to_html
   end
+
+  def id
+    render "id", :layout => false
+  end
 end