File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 1
- # Laravel DB Localization for laravel 5.1
1
+ # Laravel DB Localization for version 5.1
2
2
3
3
* 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 ) .*
4
4
@@ -67,7 +67,7 @@ Schema::create('contacts_i18n', function (Blueprint $table) {
67
67
$table->string('location', 100);
68
68
69
69
$table->unique(['contact_id', 'i18n_id']);
70
- $table->primary(array( 'contact_id', 'i18n_id') );
70
+ $table->primary([ 'contact_id', 'i18n_id'] );
71
71
$table->timestamps();
72
72
});
73
73
```
@@ -126,7 +126,7 @@ Retrieve
126
126
## Config Example
127
127
``` php
128
128
config/laravel-db-localization.php
129
- 'locale_class' => 'Despark\LaravelDbLocalization\I18n',
129
+ 'locale_class' => 'Despark\LaravelDbLocalization\I18n', // Eloquent model that handles your languages.
130
130
```
131
131
132
132
You can’t perform that action at this time.
0 commit comments