Remove .html from HAML views paths (except layout)
This commit is contained in:
9
app/views/tracks/show.haml
Normal file
9
app/views/tracks/show.haml
Normal file
@@ -0,0 +1,9 @@
|
||||
%h1= @track.name
|
||||
|
||||
- if @track.sound?
|
||||
%p
|
||||
%audio{src: sound_path(@track.sound), controls: true, autoplay: true}
|
||||
Your browser does not support the audio element
|
||||
|
||||
%p
|
||||
= link_to 'Edit', edit_track_path(@track)
|
||||
Reference in New Issue
Block a user