about summary refs log tree commit diff
path: root/laravel/resources
diff options
context:
space:
mode:
Diffstat (limited to 'laravel/resources')
-rw-r--r--laravel/resources/views/song.blade.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/laravel/resources/views/song.blade.php b/laravel/resources/views/song.blade.php
index d350ff6..6405b8a 100644
--- a/laravel/resources/views/song.blade.php
+++ b/laravel/resources/views/song.blade.php
@@ -3,9 +3,11 @@
 
 @section('content')
 
+	@if( $playlist)
     <a href='{{ route('playlist.show', ['playlist' => $playlist->name ] ) }}'>
         Back to "<i>{{$playlist->name}}</i>" playlist
     </a>
+    @endif
 
     <h2>{{$song['title']}}</h2>
     <form>