Add additional directories

For #57 (and #58), tweak a bit.
Make the input option an array, so commandline can also add multiple
dirs. Add app/models to the config, prepend the base_path() to every
dir.
This commit is contained in:
Barry vd. Heuvel
2014-02-07 09:50:07 +01:00
parent 107fda3c20
commit 948eb369a6
2 changed files with 15 additions and 14 deletions
+8 -6
View File
@@ -28,18 +28,20 @@ return array(
'helper_files' => array(
base_path().'/vendor/laravel/framework/src/Illuminate/Support/helpers.php',
),
/*
|--------------------------------------------------------------------------
| Additional model locations to include
| Model locations to include
|--------------------------------------------------------------------------
|
| Include additional model locations Useful for if you have models
| outside of the /app/models directory.
| Define in which directories the ide-helper:models command should look
| for models.
|
*/
'model_locations' => (),
'model_locations' => array(
'app/models',
),
/*