Skip to content
Browse files

Fix link when displaying a nested controller such as devise/sessions

  • Loading branch information...
1 parent 00a71b7 commit 98aa84fc5cb9f48908da311c16841c2844e87729 @infertux infertux committed May 24, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 app/views/layouts/application.html.haml
View
2 app/views/layouts/application.html.haml
@@ -63,7 +63,7 @@
%li.classifieds= link_to t('layout.classifieds'), classifieds_path
%li.assos= link_to t('layout.assos'), assos_path
%li.events= link_to t('layout.events'), events_path
- %li.news= link_to t('layout.news'), {controller: 'news'}
+ %li.news= link_to t('layout.news'), {controller: '/news'}
%li.courses= link_to t('layout.course'), courses_path
%li.wiki= link_to t('layout.wiki'), wikis_path
%li.timesheets= link_to t('layout.timesheets'), timesheets_path

0 comments on commit 98aa84f

Please sign in to comment.
Something went wrong with that request. Please try again.