Browse Source

fix twig data for my favorites shuffle

Bastien Sevajol 9 years ago
parent
commit
b08e787e16
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Muzich/FavoriteBundle/Controller/FavoriteController.php

+ 1 - 0
src/Muzich/FavoriteBundle/Controller/FavoriteController.php View File

188
       'tags'          => $tags,
188
       'tags'          => $tags,
189
       'tags_id_json'  => json_encode($tags_id),
189
       'tags_id_json'  => json_encode($tags_id),
190
       'user'          => $this->getUser(),
190
       'user'          => $this->getUser(),
191
+      'viewed_user'   => $this->getUser(),
191
       'elements'      => $search_object->getElements($this->getDoctrine(), $this->getUserId())
192
       'elements'      => $search_object->getElements($this->getDoctrine(), $this->getUserId())
192
     ));
193
     ));
193
   }
194
   }