<?php namespace Illuminate\Routing;

use Illuminate\Support\ServiceProvider;

class ControllerServiceProvider extends ServiceProvider {

	/**
	 * Register the service provider.
	 *
	 * @return void
	 */
	public function register()
	{
		$this->app->singleton('illuminate.route.dispatcher', function($app)
		{
			return new ControllerDispatcher($app['router'], $app);
		});
	}

}

<?php namespace Illuminate\Routing;

use Illuminate\Support\ServiceProvider;

class ControllerServiceProvider extends ServiceProvider {

	/**
	 * Register the service provider.
	 *
	 * @return void
	 */
	public function register()
	{
		$this->app->singleton('illuminate.route.dispatcher', function($app)
		{
			Controller::setRouter($app['router']);

			return new ControllerDispatcher($app['router'], $app);
		});
	}

}

Set the router on the controller.
Set the router on the controller.
