diff options
author | David Cabo <david@calibea.com> | 2011-10-05 04:14:49 +0200 |
---|---|---|
committer | David Cabo <david@calibea.com> | 2011-10-05 04:14:49 +0200 |
commit | f6b93d8cb5fbe4e4d2c96bf732f76102d54ce9cd (patch) | |
tree | abb69fc3526e0918158af1de5352dbdf7205e8f0 | |
parent | f983ca3d27a2e0cd55a6b80ba59fc7e4b4ed002f (diff) |
Show sign-in pop-up in current locale. Fixes #250
-rw-r--r-- | app/views/layouts/default.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/layouts/default.rhtml b/app/views/layouts/default.rhtml index 87d92ad54..2af13f342 100644 --- a/app/views/layouts/default.rhtml +++ b/app/views/layouts/default.rhtml @@ -70,7 +70,7 @@ 'width': 920, 'height': 400, 'type': 'iframe', - 'href': '/en/profile/sign_in?modal=1', + 'href': '/<%= I18n.locale %>/profile/sign_in?modal=1', 'onClosed': function() { // modal_signin_successful variable set by modal dialog box if (typeof modal_signin_successful != 'undefined' ) { |