Use ruby 2.x hash syntax
This commit is contained in:
@@ -3,4 +3,4 @@ collection @tracks
|
||||
attribute :id
|
||||
attribute :name
|
||||
|
||||
node(:sound_url, :if => ->(t) { t.sound? }) { |t| api_sound_url t.sound }
|
||||
node(:sound_url, if: ->(t) { t.sound? }) { |t| api_sound_url t.sound }
|
||||
|
Reference in New Issue
Block a user