Skip to content

Commit

Permalink
Fix #399 dashboard repositories service container resolution
Browse files Browse the repository at this point in the history
  • Loading branch information
ifox committed Oct 3, 2019
1 parent 3bb3827 commit 8491bbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Http/Controllers/Admin/DashboardController.php
Expand Up @@ -408,6 +408,6 @@ private function getDrafts($modules)
*/
private function getRepository($module)
{
return $this->app->get($this->config->get('twill.namespace') . "\Repositories\\" . ucfirst(Str::singular($module)) . "Repository");
return $this->app->make($this->config->get('twill.namespace') . "\Repositories\\" . ucfirst(Str::singular($module)) . "Repository");
}
}

0 comments on commit 8491bbf

Please sign in to comment.