Skip to content

updated config file path #932

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 29, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ $books = $user->books()->sortBy('title');
Configuration
-------------

Change your default database connection name in `app/config/database.php`:
Change your default database connection name in `config/database.php`:

```php
'default' => env('DB_CONNECTION', 'mongodb'),
Expand Down Expand Up @@ -179,7 +179,7 @@ Everything else (should) work just like the original Eloquent model. Read more a

### Optional: Alias

You may also register an alias for the MongoDB model by adding the following to the alias array in `app/config/app.php`:
You may also register an alias for the MongoDB model by adding the following to the alias array in `config/app.php`:

```php
'Moloquent' => 'Jenssegers\Mongodb\Eloquent\Model',
Expand Down