Allow the copyright page to be requested in any locale
[rails.git] / app / controllers / site_controller.rb
index 36f57d6c27d26a5003f95e4b66aa0584e6654d4e..f0c686c9f4716433a7d60ba09b91626c5bc6d9b8 100644 (file)
@@ -80,4 +80,8 @@ class SiteController < ApplicationController
       @zoom = '17' if @zoom.nil?
     end
   end
+
+  def copyright
+    @locale = params[:copyright_locale] || I18n.locale
+  end
 end