etrepat / baum

Baum is an implementation of the Nested Set pattern for Laravel's Eloquent ORM.
http://etrepat.com/baum
MIT License
2.24k stars 459 forks source link

on Laravel 5.1 placed model on project root #175

Open azulkipli opened 9 years ago

azulkipli commented 9 years ago

Hi, I try php artisan baum:install on Laravel 5.1 generated model is placed on project root directory not in /app

latelatelate commented 8 years ago

Seeing this as well. Threw me off for a second hah ;]. generated model is saving to root dir instead of app/ dir

absemetov commented 8 years ago

Now solved this problem protected function getModelsPath() { //return $this->laravel['path.base']; return $this->laravel['path.base'].'/app'; }

judgej commented 8 years ago

Caught me unaware - was creating my own models and did not realise there were there in the root.

This package really needs some love to bring all these excellent fixes that are collecting dust.