Add link to root_path in menu

This commit is contained in:
benji 2016-02-17 13:21:21 +01:00
parent d2df3d2517
commit d9714b853d

View file

@ -8,10 +8,11 @@
= csrf_meta_tags = csrf_meta_tags
%body %body
.pure-g .pure-g
.pure-u-1 - if current_user
.pure-menu.pure-menu-horizontal .pure-u-1
%ul.pure-menu-list .pure-menu.pure-menu-horizontal
- if current_user = link_to "Tab", root_path, class: "pure-menu-heading pure-menu-link"
%ul.pure-menu-list
%li.pure-menu-item %li.pure-menu-item
= link_to current_user.name.capitalize, current_user, class: "pure-menu-link" = link_to current_user.name.capitalize, current_user, class: "pure-menu-link"
- if current_user.penning - if current_user.penning