Skip to content

Commit

Permalink
remove example from service provider
Browse files Browse the repository at this point in the history
  • Loading branch information
nahid committed Nov 2, 2016
1 parent 1f2d2a4 commit 3d88212
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/TalkServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Illuminate\Support\ServiceProvider;
use Laravel\Lumen\Application as LumenApplication;
use Nahid\Talk\Conversations\ConversationRepository;
use Nahid\Talk\Example\TalkController;
use Nahid\Talk\Messages\MessageRepository;
class TalkServiceProvider extends ServiceProvider
{
Expand All @@ -27,8 +26,6 @@ public function boot()
public function register()
{
$this->registerTalk();
$this->registerView();
include __DIR__.'/Example/routes.php';
}
/**
* Setup the config.
Expand Down Expand Up @@ -64,11 +61,6 @@ protected function registerTalk()
return new Talk($app[ConversationRepository::class], $app[MessageRepository::class]);
});
}

protected function registerView()
{
$this->loadViewsFrom(__DIR__.'/Example/views', 'talk');
}
/**
* Get the services provided by the provider.
*
Expand Down

0 comments on commit 3d88212

Please sign in to comment.