Allow the copyright page to be requested in any locale

This commit is contained in:
Tom Hughes 2012-02-14 11:54:22 +00:00
parent 3121d1b5a0
commit 2b326acc32
2 changed files with 9 additions and 7 deletions

View 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