From e81357bcb0be14a08aa185680b8b98ea92e45fab Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 3 Sep 2013 11:06:20 +0200 Subject: 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. --- core/app/views/common/_home_page_buttons.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/app/views') 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') -- cgit v1.2.3