Use ruby 2.x hash syntax
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
= form_for @track, :html => { :multipart => true } do |t|
|
||||
= form_for @track, html: { multipart: true } do |t|
|
||||
%table
|
||||
%tbody
|
||||
%tr
|
||||
|
@@ -1,5 +1,5 @@
|
||||
%h1= @track.name
|
||||
|
||||
- if @track.sound?
|
||||
%audio{:src => sound_path(@track.sound), :controls => true, :autoplay => true}
|
||||
%audio{src: sound_path(@track.sound), controls: true, autoplay: true}
|
||||
Your browser does not support the audio element
|
||||
|
Reference in New Issue
Block a user