Added welcome and profile actions to the my controller
This commit is contained in:
parent
8e4dd058b6
commit
020a864736
12 changed files with 125 additions and 19 deletions
11
app/views/my/_menu.slim
Normal file
11
app/views/my/_menu.slim
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
.menu-centered
|
||||
ul.menu.icon-top
|
||||
li class=('active' if action_name=='profile')
|
||||
= link_to my_profile_path
|
||||
= fa_icon 'user-o 2x', text: 'Myself'
|
||||
li
|
||||
a href='#'
|
||||
= fa_icon 'image 2x', text: 'My uploads'
|
||||
li
|
||||
= link_to destroy_user_session_path, :method => :delete
|
||||
= fa_icon 'lock 2x', text: 'Logout'
|
||||
Loading…
Add table
Add a link
Reference in a new issue