weathermen/soundstorm

View on GitHub
app/views/tracks/_track.html.haml

Summary

Maintainability
Test Coverage
.track-summary
  .track-summary__title.track-title
    %h2.track-title__name
      = link_to track.name, user_track_path(track.user, track)
    %h3.track-title__artist
      = t('.by', artist: track.user.name)
  .track-summary__player
    = render 'tracks/player', track: track