Skip to content

Commit

Permalink
update tag references
Browse files Browse the repository at this point in the history
  • Loading branch information
clarkeash authored Jul 13, 2019
1 parent e63dad7 commit f0e8f40
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ Doorman::check('ABCDE', '[email protected]');
In order to change the error message returned from doorman, we need to publish the language files like so:

```bash
$ php artisan vendor:publish --tag=translations
$ php artisan vendor:publish --tag=doorman-translations
```

The language files will then be in ````/resources/lang/vendor/doorman/en```` where you can edit the ````messages.php```` file, and these messages will be used by doorman. You can create support for other languages by creating extra folders with a ````messages.php```` file in the ````/resources/lang/vendor/doorman```` directory such as ````de```` where you could place your German translations. [Read the localisation docs for more info](https://laravel.com/docs/localization).
Expand Down Expand Up @@ -165,7 +165,7 @@ You should pass the email address into the constructor to validate the code agai
First publish the package configuration:

```bash
$ php artisan vendor:publish --tag=config
$ php artisan vendor:publish --tag=doorman-config
```

In `config/doorman.php` you will see:
Expand Down

0 comments on commit f0e8f40

Please sign in to comment.