diff --git a/src/Baum/Console/InstallCommand.php b/src/Baum/Console/InstallCommand.php index 8c273b7b..cb244723 100644 --- a/src/Baum/Console/InstallCommand.php +++ b/src/Baum/Console/InstallCommand.php @@ -108,7 +108,7 @@ protected function writeModel($name) { * @return string */ protected function getMigrationsPath() { - return $this->laravel['path.database'].'/migrations'; + return $this->laravel->databasePath().'/migrations'; } /** @@ -117,7 +117,7 @@ protected function getMigrationsPath() { * @return string */ protected function getModelsPath() { - return $this->laravel['path.base']; + return $this->laravel->path(); } }