Implement user sign out (destroy current session)

This commit is contained in:
Thibault Jouan
2015-05-01 10:55:32 +00:00
parent 7ecf47a0f9
commit 4b0f4d391f
3 changed files with 8 additions and 0 deletions

View File

@@ -13,5 +13,7 @@
= link_to 'Scube', root_path
%li
= link_to 'Playlists', playlists_path
%li
= link_to 'Sign out', signout_path
= yield