Skip to content

Commit

Permalink
Move I18n model
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Stoimenov committed Sep 7, 2016
1 parent c703272 commit ef7182e
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion config/laravel-db-localization.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
| Please provide the full namespaced path.
|
*/
'locale_class' => 'App\Models\I18n',
'locale_class' => 'Despark\Cms\Models\I18n',
];
2 changes: 1 addition & 1 deletion resources/views/admin/formElements/translations.blade.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<?php $i18ns = \App\Models\I18n::all(); ?>
<?php $i18ns = \Despark\Cms\Models\I18n::all(); ?>
@if(!empty($i18ns))
<div role="tabpanel">
<ul class="nav nav-tabs" role="tablist">
Expand Down
2 changes: 1 addition & 1 deletion src/Admin/Traits/AdminConfigTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Despark\Cms\Admin\Traits;

use Despark\Cms\Admin\Helpers\FormBuilder;
use App\Models\I18n;
use Despark\Cms\Models\I18n;
use Illuminate\Support\Facades\Request;

/**
Expand Down
2 changes: 1 addition & 1 deletion app/Models/I18n.php → src/Models/I18n.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace App\Models;
namespace Despark\Cms\Models;

use Despark\Cms\Models\AdminModel;

Expand Down

0 comments on commit ef7182e

Please sign in to comment.