Add link to root_path in menu
This commit is contained in:
parent
d2df3d2517
commit
d9714b853d
1 changed files with 5 additions and 4 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue