aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Cabo <david@calibea.com>2011-10-05 04:14:49 +0200
committerDavid Cabo <david@calibea.com>2011-10-05 04:14:49 +0200
commitf6b93d8cb5fbe4e4d2c96bf732f76102d54ce9cd (patch)
treeabb69fc3526e0918158af1de5352dbdf7205e8f0
parentf983ca3d27a2e0cd55a6b80ba59fc7e4b4ed002f (diff)
Show sign-in pop-up in current locale. Fixes #250
-rw-r--r--app/views/layouts/default.rhtml2
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' ) {