REFACTORING: another ugly commit full of refactored code
This commit is contained in:
@@ -1,20 +0,0 @@
|
||||
<?php namespace Modules\Staticpages\Database\Seeders;
|
||||
|
||||
use Illuminate\Database\Seeder;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class StaticPagesDatabaseSeeder extends Seeder {
|
||||
|
||||
/**
|
||||
* Run the database seeds.
|
||||
*
|
||||
* @return void
|
||||
*/
|
||||
public function run()
|
||||
{
|
||||
Model::unguard();
|
||||
|
||||
// $this->call("OthersTableSeeder");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,8 +1,7 @@
|
||||
<?php
|
||||
namespace Modules\StaticPages\Handlers;
|
||||
|
||||
use App\CMS\Enumerations\ModulesHandlerToId;
|
||||
use App\CMS\Handlers\Contracts\ContentTitles;
|
||||
use App\CMS\Contracts\Content\ContentTitles;
|
||||
use App\CMS\Handlers\Handler;
|
||||
use App\Models\Content\Content;
|
||||
use App\Models\User;
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
<?php
|
||||
@@ -1,15 +1 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Register Namespaces And Routes
|
||||
|--------------------------------------------------------------------------
|
||||
|
|
||||
| When a module starting, this file will executed automatically. This helps
|
||||
| to register some namespaces like translator or view. Also this file
|
||||
| will load the routes file for each module. You may also modify
|
||||
| this file as you want.
|
||||
|
|
||||
*/
|
||||
|
||||
require __DIR__ . '/Http/routes.php';
|
||||
|
||||
Reference in New Issue
Block a user