Language editor refactoring part 3 (backend + frontend)

This commit is contained in:
Peter Papp
2021-04-01 07:50:01 +02:00
parent a8fa3694be
commit 5130082111
15 changed files with 448 additions and 903 deletions
+10
View File
@@ -6,9 +6,19 @@ use App\Services\HelperService;
use Illuminate\Support\Str;
use Illuminate\Support\Facades\DB;
use Illuminate\Database\Eloquent\Model;
use Kyslik\ColumnSortable\Sortable;
/**
* @method static whereLocale(string $param)
*/
class Language extends Model
{
use Sortable;
public $sortable = [
'created_at',
];
protected $guarded = [
'id'
];