diff options
author | Azul <azul@leap.se> | 2013-09-03 11:06:20 +0200 |
---|---|---|
committer | Azul <azul@leap.se> | 2013-09-03 11:06:20 +0200 |
commit | e81357bcb0be14a08aa185680b8b98ea92e45fab (patch) | |
tree | 3b13dc010b3a58b7d386adeb11a4da25cfc7ad95 /core | |
parent | 78e918609a2a5cf9e0222dab81888de968e33222 (diff) |
use the login logout named route instead of sessions resource
The main part of the sessions resource now lives in the API. the two named routes are just fine for what is left.
Diffstat (limited to 'core')
-rw-r--r-- | core/app/views/common/_home_page_buttons.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/app/views/common/_home_page_buttons.html.haml b/core/app/views/common/_home_page_buttons.html.haml index 82a5cc2..7eb4c40 100644 --- a/core/app/views/common/_home_page_buttons.html.haml +++ b/core/app/views/common/_home_page_buttons.html.haml @@ -9,7 +9,7 @@ .span3 .row-fluid.second .login.span4 - %span.link= link_to(icon('ok-sign', icon_color) + t(:login), new_session_path, :class => 'btn') + %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') |