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
%body
.pure-g
.pure-u-1
.pure-menu.pure-menu-horizontal
%ul.pure-menu-list
- if current_user
- if current_user
.pure-u-1
.pure-menu.pure-menu-horizontal
= link_to "Tab", root_path, class: "pure-menu-heading pure-menu-link"
%ul.pure-menu-list
%li.pure-menu-item
= link_to current_user.name.capitalize, current_user, class: "pure-menu-link"
- if current_user.penning