Skip to content

Commit

Permalink
Merge pull request #10 from Charlie-Lucas/master
Browse files Browse the repository at this point in the history
use reference as object according to victoire 1.3.6
  • Loading branch information
Charlie-Lucas committed Dec 9, 2015
2 parents 5e73816 + a239a8b commit 5a6bfc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Resolver/WidgetFilterContentResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public function getWidgetStaticContent(Widget $widget)

if ($widget->getView()->getId() === $widgetListing->getView()->getId() && $widget->getAjax()) {
$currentView = $this->currentView;
$action = $this->router->generate('victoire_core_widget_show', ['id' => $widgetListing->getId(), 'viewReferenceId' => $currentView()->getReference()['id']]);
$action = $this->router->generate('victoire_core_widget_show', ['id' => $widgetListing->getId(), 'viewReferenceId' => $currentView()->getReference()->getId()]);
$ajax = true;
} else {
$action = $this->router->generate('victoire_core_page_show', ['url' => $widgetListing->getView()->getUrl()]);
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"php" : ">=5.3.3",
"symfony/framework-bundle" : "~2.3",
"beberlei/DoctrineExtensions": "dev-master",
"victoire/victoire" : ">=1.3.0 <1.3.6",
"victoire/victoire" : ">=1.3.6",
"lexik/form-filter-bundle" : "3.*@dev",
"appventus/ajax-bundle" : "dev-master"
},
Expand Down

0 comments on commit 5a6bfc4

Please sign in to comment.