Skip to content

Commit

Permalink
clean up the service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
AlirezaAlgo committed Mar 1, 2015
1 parent 43577e8 commit 3499862
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions src/Serverfireteam/Panel/PanelServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public function register()

$this->commands('panel::createmodel');

$this->commands('panel::createcontroller');
$this->commands('panel::createcontroller');

$this->commands('panel::install');

Expand All @@ -77,19 +77,15 @@ public function register()
public function boot()
{

$base_path = base_path();
$base_path .= "/vendor/serverfireteam/panel/src/views";



$this->loadViewsFrom(__DIR__.'/../../views', 'panelViews');
$this->publishes([
__DIR__.'/../../views' => base_path('resources/views/vendor/panelViews'),
]);

$testModel = new Admin();
include __DIR__."/../../routes.php";

$this->loadTranslationsFrom(base_path() . '/vendor/serverfireteam/panel/src/lang', 'panel');
$this->loadTranslationsFrom(base_path() . '/vendor/serverfireteam/panel/src/lang', 'panel');
$this->loadTranslationsFrom(base_path() . '/vendor/serverfireteam/rapyd-laravel/lang', 'rapyd');

AliasLoader::getInstance()->alias('Serverfireteam', 'Serverfireteam\Panel\Serverfireteam');
Expand Down

0 comments on commit 3499862

Please sign in to comment.