Skip to content

Commit

Permalink
Update ModuleProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
sdebacker committed Mar 16, 2015
1 parent 9c25533 commit 3513cfa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Providers/ModuleProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public function register()

$app->bind('TypiCMS\Modules\Places\Repositories\PlaceInterface', function (Application $app) {
$repository = new EloquentPlace(new Place);
if (! Config::get('app.cache')) {
if (! config('typicms.cache')) {
return $repository;
}
$laravelCache = new LaravelCache($app['cache'], 'places', 10);
Expand Down

0 comments on commit 3513cfa

Please sign in to comment.