summaryrefslogtreecommitdiff
path: root/core/app/views
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2013-12-22 01:45:41 -0800
committerelijah <elijah@riseup.net>2013-12-22 02:00:49 -0800
commit665964bcbba69829a4ff1e7d7bd936f90d49b3f7 (patch)
treebc5356220eaca2465bd135f45edf8000d6c254be /core/app/views
parent5bf1462140a7aa17ea815ccc5105ace6fa878d83 (diff)
locale prefix support:
* set locale based on request header * enforce locale path prefix when current locale is not the default * note: don't use root_path anymore, instead use home_path
Diffstat (limited to 'core/app/views')
-rw-r--r--core/app/views/common/_home_page_buttons.html.haml4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/app/views/common/_home_page_buttons.html.haml b/core/app/views/common/_home_page_buttons.html.haml
index 3be12e2..4c3fc5b 100644
--- a/core/app/views/common/_home_page_buttons.html.haml
+++ b/core/app/views/common/_home_page_buttons.html.haml
@@ -15,8 +15,8 @@
%span.link= link_to(icon('ok-sign', icon_color) + t(:login), login_path, :class => 'btn')
%span.info= t(:login_info)
.signup.span4
- %span.link= link_to(icon('user', icon_color) + t(:signup), new_user_path, :class => 'btn')
+ %span.link= link_to(icon('user', icon_color) + t(:signup), signup_path, :class => 'btn')
%span.info= t(:signup_info)
.help.span4
- %span.link= link_to(icon('question-sign', icon_color) + t(:get_help), "/tickets/new", :class => 'btn')
+ %span.link= link_to(icon('question-sign', icon_color) + t(:get_help), new_ticket_path, :class => 'btn')
%span.info= t(:help_info)