Skip to content

Commit 816a52e

Browse files
author
tbanov
committed
Update readme
1 parent 50eddbf commit 816a52e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Laravel DB Localization for laravel 5.1
1+
# Laravel DB Localization for version 5.1
22

33
*Note: if you are looking for the version for Laravel 4.2 check out [v1 branch](https://github.com/despark/laravel-db-localization/tree/v1).*
44

@@ -67,7 +67,7 @@ Schema::create('contacts_i18n', function (Blueprint $table) {
6767
$table->string('location', 100);
6868

6969
$table->unique(['contact_id', 'i18n_id']);
70-
$table->primary(array('contact_id', 'i18n_id'));
70+
$table->primary(['contact_id', 'i18n_id']);
7171
$table->timestamps();
7272
});
7373
```
@@ -126,7 +126,7 @@ Retrieve
126126
## Config Example
127127
```php
128128
config/laravel-db-localization.php
129-
'locale_class' => 'Despark\LaravelDbLocalization\I18n',
129+
'locale_class' => 'Despark\LaravelDbLocalization\I18n', // Eloquent model that handles your languages.
130130
```
131131

132132

0 commit comments

Comments
 (0)