Skip to content

Commit

Permalink
Merge pull request #4 from GrahamCampbell/patch-1
Browse files Browse the repository at this point in the history
Fixed the service provider
  • Loading branch information
guiwoda committed Feb 9, 2015
2 parents bb68aff + af1c45e commit e35cf25
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/RouteBinderServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ final class RouteBinderServiceProvider extends ServiceProvider
*/
public function register()
{
$this->mergeConfigFrom(__DIR__.'/config/route-binder.php', 'route-binder');
//
}

/**
Expand All @@ -36,6 +36,8 @@ public function boot(Repository $config, Registrar $router)
__DIR__.'/config/route-binder.php' => $this->app->make('path.config') . '/route-binder.php',
], 'config');

$this->mergeConfigFrom(__DIR__.'/config/route-binder.php', 'route-binder');

$this->bootRoutes($config, $router);
}

Expand Down

0 comments on commit e35cf25

Please sign in to comment.