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
|
||||
%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
|
||||
|
|
Loading…
Reference in a new issue