From 4582f808f05205e7a32ecd6ae42dee00295872f1 Mon Sep 17 00:00:00 2001 From: Igor Scheller Date: Sun, 21 Jul 2019 02:34:52 +0200 Subject: Added version to credits and metrics page --- src/Helpers/VersionServiceProvider.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/Helpers/VersionServiceProvider.php (limited to 'src/Helpers/VersionServiceProvider.php') diff --git a/src/Helpers/VersionServiceProvider.php b/src/Helpers/VersionServiceProvider.php new file mode 100644 index 00000000..41e10158 --- /dev/null +++ b/src/Helpers/VersionServiceProvider.php @@ -0,0 +1,15 @@ +app->when(Version::class) + ->needs('$storage') + ->give($this->app->get('path.storage.app')); + } +} -- cgit v1.2.3-70-g09d2