protected function registerViews()
    {
        // register views within the application with the set namespace
        $this->loadViewsFrom($this->packagePath('resources/views'), 'votee');
        // allow views to be published to the storage directory
        $this->publishes([
            $this->packagePath('resources/views') => base_path('resources/views/vendor/votee'),
        ], 'views');
    }
protected function registerViews()
    {
        // register views within the application with the set namespace
        $this->loadViewsFrom($this->packagePath('resources/views'), 'votee');
        // allow views to be published to the storage directory
        $this->publishes([
            $this->packagePath('resources/views') => base_path('resources/views/vendor/votee'),
        ], 'views');
    }
protected function registerViews ( ) { // register views within the application with the set namespace $ this -> loadViewsFrom ( $ this -> packagePath ( 'resources/views' ) , 'votee' ) ; // allow views to be published to the storage directory $ this -> publishes ( [ $ this -> packagePath ( 'resources/views' ) => base_path ( 'resources/views/vendor/votee' ) , ] , 'views' ) ; }
Register the package views

@see http://laravel.com/docs/5.1/packages#views
@return void
Register the package views