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

Commit

Permalink
Updating 0.0.1 (#8)
Browse files Browse the repository at this point in the history
* fixing config key + updating the Usage on README (#6)

* Rename ElasticsearchEngineTets.php to ElasticsearchEngineTest.php (#7)
  • Loading branch information
ErickTamayo committed Aug 25, 2016
1 parent 8babaa5 commit 5ca6a12
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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
File renamed without changes.

0 comments on commit 5ca6a12

Please sign in to comment.