src/Priskz/SORAD/Laravel/APIServiceProvider.php
public function includeRoutesFiles()
	{
		// Application Specific Module Route File Locations
		if(Config::get('sorad.api.routes.file') && is_array(Config::get('sorad.api.routes.file')))
		{
			foreach(Config::get('sorad.api.routes.file') as $route)
			{
				// Check if is an app directory and use default routes file name.
				if(is_dir(app_path($route)))
				{
					$this->loadRoutesFrom(app_path($route . '/' . $this->getRouteFileName()));
				}
				elseif(is_file(app_path($route)))
				{
					$this->loadRoutesFrom(app_path($route));
				}
			}
		}
	}
public function includeRoutesFiles()
	{
		// Application Specific Module Route File Locations
		if(Config::get('sorad.api.routes.file') && is_array(Config::get('sorad.api.routes.file')))
		{
			foreach(Config::get('sorad.api.routes.file') as $route)
			{
				// Check if is an app directory and use default routes file name.
				if(is_dir(app_path($route)))
				{
					$this->loadRoutesFrom(app_path($route . '/' . $this->getRouteFileName()));
				}
				elseif(is_file(app_path($route)))
				{
					$this->loadRoutesFrom(app_path($route));
				}
			}
		}
	}
public function includeRoutesFiles ( ) { // Application Specific Module Route File Locations if ( Config :: get ( 'sorad.api.routes.file' ) && is_array ( Config :: get ( 'sorad.api.routes.file' ) ) ) { foreach ( Config :: get ( 'sorad.api.routes.file' ) as $ route ) { // Check if is an app directory and use default routes file name. if ( is_dir ( app_path ( $ route ) ) ) { $ this -> loadRoutesFrom ( app_path ( $ route . '/' . $ this -> getRouteFileName ( ) ) ) ; } elseif ( is_file ( app_path ( $ route ) ) ) { $ this -> loadRoutesFrom ( app_path ( $ route ) ) ; } } } }
Include Routes Files

@return void
Include Routes Files