From 58dfefc3ca187951fe50023f914faf3ce5740592 Mon Sep 17 00:00:00 2001 From: maxwell Date: Mon, 14 Jun 2010 18:50:38 -0700 Subject: [PATCH] added home to nav bar --- app/views/layouts/application.html.haml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/app/views/layouts/application.html.haml b/app/views/layouts/application.html.haml index 9a26b6810..996ea92a5 100644 --- a/app/views/layouts/application.html.haml +++ b/app/views/layouts/application.html.haml @@ -16,7 +16,7 @@ %body #header .container - %a#diaspora_text{:href => root_url} + %a#diaspora_text{:href => root_path} %img{:src => '/images/diaspora.png'} #session_action @@ -26,9 +26,10 @@ = link_to "login", new_user_session_path %ul.nav - %li= link_to "Users", users_url - %li= link_to "Status Messages", status_messages_url - %li= link_to "Friends", friends_url + %li= link_to "Home", root_path + %li= link_to "Users", users_path + %li= link_to "Status Messages", status_messages_path + %li= link_to "Friends", friends_path .container - if show_title?