Skip to content
This repository has been archived by the owner on Feb 5, 2023. It is now read-only.

Config fix #6

Merged
merged 2 commits into from
Aug 24, 2016
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ After you've published the Laravel Scout package configuration:

## Usage

Now you can use Laravel Scout as described [here](https://laravel-news.com/2016/08/laravel-scout-is-now-open-for-developer-testing/)
Now you can use Laravel Scout as described in the [official documentation](https://laravel.com/docs/5.3/scout)
## Credits

- [Erick Tamayo](https://github.com/ericktamayo)
Expand Down
4 changes: 2 additions & 2 deletions src/ElasticsearchProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ class ElasticsearchProvider extends ServiceProvider
*/
public function boot()
{
$this->app[EngineManager::class]->extend('elasticsearch', function($app){
resolve(EngineManager::class)->extend('elasticsearch', function($app){
return new ElasticsearchEngine(ElasticBuilder::create()
->setHosts(config('scout.elastic.hosts'))
->setHosts(config('scout.elasticsearch.hosts'))
->build(),
config('scout.elasticsearch.index')
);
Expand Down