scube-server/app/views/layouts/application.html.haml
Thibault Jouan 5e1757aff9 Improve tracks CRUD
* Add index, edit and update action;
* Add _form partial;
* Add link to tracks/index in nav;
* Refactor specs.
2015-05-01 12:09:29 +00:00

21 lines
364 B
Plaintext

!!!
%html
%head
%meta{charset: 'utf-8'}
%title scube
= csrf_meta_tag
%body
%header
- if current_user?
%nav
%ul
%li
= link_to 'Playlists', playlists_path
%li
= link_to 'Tracks', tracks_path
%li
= link_to 'Sign out', signout_path
= yield