1
0
mirror of https://github.com/BookStackApp/BookStack.git synced 2025-08-09 10:22:51 +03:00

Added view count tracking with personalised lists

This commit is contained in:
Dan Brown
2015-11-21 17:22:14 +00:00
parent 76eb8fc5d7
commit ea55b7f141
18 changed files with 311 additions and 30 deletions

View File

@@ -2,6 +2,7 @@
namespace BookStack\Providers;
use BookStack\Services\ViewService;
use Illuminate\Support\ServiceProvider;
use BookStack\Services\ActivityService;
use BookStack\Services\SettingService;
@@ -29,6 +30,10 @@ class CustomFacadeProvider extends ServiceProvider
return new ActivityService($this->app->make('BookStack\Activity'));
});
$this->app->bind('views', function() {
return new ViewService($this->app->make('BookStack\View'));
});
$this->app->bind('setting', function() {
return new SettingService(
$this->app->make('BookStack\Setting'),