X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/e744d4c82ca3e4ae49b98b00bf0e048dde0f43e0..refs/pull/236/head:/app/Http/Controllers/SettingController.php diff --git a/app/Http/Controllers/SettingController.php b/app/Http/Controllers/SettingController.php index 1791ccfac..65135eda3 100644 --- a/app/Http/Controllers/SettingController.php +++ b/app/Http/Controllers/SettingController.php @@ -15,7 +15,11 @@ class SettingController extends Controller { $this->checkPermission('settings-manage'); $this->setPageTitle('Settings'); - return view('settings/index'); + + // Get application version + $version = trim(file_get_contents(base_path('version'))); + + return view('settings/index', ['version' => $version]); } /**