Update
This commit is contained in:
34
oldSite/Plugins/Services/ServiceProvider.php
Normal file
34
oldSite/Plugins/Services/ServiceProvider.php
Normal file
@@ -0,0 +1,34 @@
|
||||
<?php
|
||||
namespace Klevze\ControlPanel\Plugins\Services;
|
||||
|
||||
use App;
|
||||
use Menu;
|
||||
use Illuminate\Support\ServiceProvider as LaravelServiceProvider;
|
||||
|
||||
class ServiceProvider extends LaravelServiceProvider
|
||||
{
|
||||
/**
|
||||
* Bootstrap the application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
|
||||
public function boot()
|
||||
{
|
||||
$this->loadMigrationsFrom(__DIR__ . '/Migrations');
|
||||
$this->loadViewsFrom(__DIR__ . '/Resources/views', 'plugin.services');
|
||||
Menu::addItem(trans('admin.CONTENT'), trans('admin.SERVICES'), 'fa fa-th-large', 'admin.plugin.services');
|
||||
}
|
||||
|
||||
/**
|
||||
* Register the application services.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function register()
|
||||
{
|
||||
//
|
||||
include __DIR__ . '/Routes/routes.php';
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user