diff options
| author | Zach DeCook <zachdecook@librem.one> | 2019-09-02 09:45:52 -0400 |
|---|---|---|
| committer | Zach DeCook <zachdecook@librem.one> | 2019-09-02 09:45:52 -0400 |
| commit | 36b20054f2f0a2afe9d358cc1a7a8c8235606d1a (patch) | |
| tree | f7314965e744d18652f144b4f7e6c99f01911867 /laravel/resources | |
| parent | 13bdbf7a5592fc3548a207e7abe26c6ca97b95dd (diff) | |
| download | prosongsa-36b20054f2f0a2afe9d358cc1a7a8c8235606d1a.tar.gz | |
* Suggestions: Keep suggestions within the current playlist
Diffstat (limited to 'laravel/resources')
| -rw-r--r-- | laravel/resources/views/song.blade.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/laravel/resources/views/song.blade.php b/laravel/resources/views/song.blade.php index c486ffc..dfc7f75 100644 --- a/laravel/resources/views/song.blade.php +++ b/laravel/resources/views/song.blade.php @@ -67,9 +67,9 @@ @foreach ($suggestions as $sug) <div class='controlArea'> - <a class='but' href='{{route('song.suggested', ['song' => $sug, 'from' => $song])}}'>{{$sug->name}}</a> + <a class='but' href='{{route('song.suggested', ['song' => $sug, 'from' => $song, 'playlist' => $playlist ?? ''])}}'>{{$sug->name}}</a> @if ($key && $sug->key) - <a class='but' data-words='transposed to ' data-key='{{$key}}' href='{{route('song.suggested', ['song' => $sug, 'from' => $song, 'key' => $key])}}'> + <a class='but' data-words='transposed to ' data-key='{{$key}}' href='{{route('song.suggested', ['song' => $sug, 'from' => $song, 'key' => $key, 'playlist' => $playlist ?? ''])}}'> transposed to {{$key}} </a> @endif |
