Skip to content

Commit

Permalink
Master synchronization
Browse files Browse the repository at this point in the history
  • Loading branch information
bestmomo committed Jan 22, 2015
1 parent 41cb20f commit 3ac49de
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 2 deletions.
12 changes: 12 additions & 0 deletions app/Providers/EventServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?php namespace App\Providers;

use Illuminate\Contracts\Events\Dispatcher as DispatcherContract;
use Illuminate\Foundation\Support\Providers\EventServiceProvider as ServiceProvider;

class EventServiceProvider extends ServiceProvider {
Expand All @@ -15,4 +16,15 @@ class EventServiceProvider extends ServiceProvider {
'user.access' => ['App\Services\Statut@setStatut']
];

/**
* Register any other events for your application.
*
* @param \Illuminate\Contracts\Events\Dispatcher $events
* @return void
*/
public function boot(DispatcherContract $events)
{
parent::boot($events);
}

}
2 changes: 1 addition & 1 deletion app/Providers/RouteServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public function boot(Router $router)
*/
public function map(Router $router)
{
$router->group(['namespace' => $this->namespace], function()
$router->group(['namespace' => $this->namespace], function($router)
{
require app_path('Http/routes.php');
});
Expand Down
1 change: 0 additions & 1 deletion config/app.php
Original file line number Diff line number Diff line change
Expand Up @@ -176,7 +176,6 @@
'Lang' => 'Illuminate\Support\Facades\Lang',
'Log' => 'Illuminate\Support\Facades\Log',
'Mail' => 'Illuminate\Support\Facades\Mail',
'Paginator' => 'Illuminate\Support\Facades\Paginator',
'Password' => 'Illuminate\Support\Facades\Password',
'Queue' => 'Illuminate\Support\Facades\Queue',
'Redirect' => 'Illuminate\Support\Facades\Redirect',
Expand Down

0 comments on commit 3ac49de

Please sign in to comment.