Use ruby 2.x hash syntax

This commit is contained in:
Thibault Jouan
2014-04-01 10:48:18 +00:00
parent 712e9501a2
commit da96c4814a
52 changed files with 148 additions and 148 deletions

View File

@@ -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