Added welcome and profile actions to the my controller

This commit is contained in:
Christoph Haas 2017-04-23 13:37:48 +02:00
parent 8e4dd058b6
commit 020a864736
12 changed files with 125 additions and 19 deletions

11
app/views/my/_menu.slim Normal file
View 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'