* Add index, edit and update action; * Add _form partial; * Add link to tracks/index in nav; * Refactor specs.
21 lines
364 B
Plaintext
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
|