Skip to content

Commit

Permalink
Merge pull request #145 from Kunstmaan/fix_adminlist_routing
Browse files Browse the repository at this point in the history
the adminlist is used for both the media browse as the media choose cont...
  • Loading branch information
Roderik van der Veer committed May 5, 2014
2 parents 4b25f40 + c30c5e1 commit b37de8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions AdminList/MediaAdminListConfigurator.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,8 @@ public function buildFilters()
public function getIndexUrl()
{
return array(
'path' => 'KunstmaanMediaBundle_folder_show',
'params' => array('folderId' => $this->folder->getId())
'path' => $this->request->get('_route'),
'params' => array('folderId' => $this->folder->getId())
);
}

Expand Down

0 comments on commit b37de8d

Please sign in to comment.