Providers/ModulesServiceProvider.php
protected function registerViewNamespace(Module $module)
    {
        $this->app['view']->addNamespace(
            $module->getName(),
            $module->getPath().'/Resources/views'
        );
    }
protected function registerViewNamespace(Module $module)
    {
        $this->app['view']->addNamespace(
            $module->getName(),
            $module->getPath().'/Resources/views'
        );
    }
protected function registerViewNamespace ( Module $ module ) { $ this -> app [ 'view' ] -> addNamespace ( $ module -> getName ( ) , $ module -> getPath ( ) . '/Resources/views' ) ; }
Register the view namespaces for the modules.

@param Module $module
Register the view namespaces for the modules .