Loading Views from a different location

Submitted by Whyounes - 9 years ago

Loading views from a different location, other than 'app/views'

// you can add your path to the 'app/config/view.php'

'paths' => array(__DIR__.'/../views', 'my_views_path')

// if you have a need to dynamically load views, you can use this method

App::make('view.finder')->addLocation( 'my_views_path' );