phpvms/app/Providers/ComposerServiceProvider.php
Nabeel S 0e13905098
Upstream null version; build version tags not being saved properly #575 (#578)
* Check for null version from upstream #575

* Fix for pre-release version numbering

* Move popup to right

* Split get/generate build ID #575
2020-02-23 12:23:19 -05:00

17 lines
371 B
PHP

<?php
namespace App\Providers;
use App\Http\Composers\VersionComposer;
use Illuminate\Support\Facades\View;
use Illuminate\Support\ServiceProvider;
class ComposerServiceProvider extends ServiceProvider
{
public function boot()
{
// Attach the version number to the admin sidebar
View::composer('admin.sidebar', VersionComposer::class);
}
}