Remove .html from HAML views paths (except layout)
This commit is contained in:
6
app/views/tracks/index.haml
Normal file
6
app/views/tracks/index.haml
Normal file
@@ -0,0 +1,6 @@
|
||||
= link_to 'Create track', new_track_path
|
||||
|
||||
%ul
|
||||
- @tracks.each do |p|
|
||||
%li
|
||||
= link_to p.name, track_path(p)
|
||||
Reference in New Issue
Block a user