Skip to content

Commit

Permalink
Update MetadataControllerProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
c-harris committed Dec 24, 2016
1 parent bed693c commit 0676dde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/MetadataControllerProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public function boot()
foreach ($Classes as $name => $file) {
if (\Illuminate\Support\Str::startsWith($name, "App")) {
if (in_array("AlgoWeb\\PODataLaravel\\Controllers\\MetadataControllerTrait", class_uses($name))) {
$ends[] = $name;
$ends[] = new $name;
}
}
}
Expand Down

0 comments on commit 0676dde

Please sign in to comment.