Skip to content
This repository has been archived by the owner on May 17, 2020. It is now read-only.

Commit

Permalink
Merge branch 'release/v1.1.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Chan committed Feb 12, 2016
2 parents 65eb3df + 786deba commit 9196f3f
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,7 @@ Go to the model that you want to implement localizable function, and add this tr

```php
use Riseno\Localizable\LocalizableTrait;

class User extends Authenticatable
{
use LocalizableTrait;
Expand All @@ -69,12 +70,6 @@ public function localizations()
}
```

Also generate the localization model for eloquent relationship.

```bash
php artisan make:model UserLocalization
```

### Usage

The trait has provided a generic method for accessing the localized data,
Expand Down

0 comments on commit 9196f3f

Please sign in to comment.