protected function registerRoutes()
    {
        $this->app['router']->group([
            'namespace' => __NAMESPACE__ . '\Http\Controllers'
        ], function($router) {
            $router->get('votee/test', ['uses' => 'VoteeController@test', 'as' => 'votee.test']);
            $router->post('votee/up', ['uses' => 'VoteeController@up', 'as' => 'votee.up']);
            $router->post('votee/down', ['uses' => 'VoteeController@down', 'as' => 'votee.down']);
        });
    }
protected function registerRoutes()
    {
        $this->app['router']->group([
            'namespace' => __NAMESPACE__ . '\Http\Controllers'
        ], function($router) {
            $router->get('votee/test', ['uses' => 'VoteeController@test', 'as' => 'votee.test']);
            $router->post('votee/up', ['uses' => 'VoteeController@up', 'as' => 'votee.up']);
            $router->post('votee/down', ['uses' => 'VoteeController@down', 'as' => 'votee.down']);
        });
    }
protected function registerRoutes ( ) { $ this -> app [ 'router' ] -> group ( [ 'namespace' => __NAMESPACE__ . '\Http\Controllers' ] , function ( $ router ) { $ router -> get ( 'votee/test' , [ 'uses' => 'VoteeController@test' , 'as' => 'votee.test' ] ) ; $ router -> post ( 'votee/up' , [ 'uses' => 'VoteeController@up' , 'as' => 'votee.up' ] ) ; $ router -> post ( 'votee/down' , [ 'uses' => 'VoteeController@down' , 'as' => 'votee.down' ] ) ; } ) ; }
Register the package routes

@warn consider allowing routes to be disabled
@see http://laravel.com/docs/5.1/routing
@see http://laravel.com/docs/5.1/packages#routing
@return void
Register the package routes