File: D:/HostingSpaces/SBogers95/rentman.io/app/Komma/Jobs/Kms/JobController.php
<?php
namespace App\Komma\Jobs\Kms;
/**
* @author Komma <info@komma.pro>
* @copyright (c) 2012-2016, Komma
*/
use App\Komma\Jobs\Models\Job;
use App\Komma\Kms\Core\SectionController;
class JobController extends SectionController
{
protected $slug = 'jobs';
protected $forModelName = Job::class;
public function __construct(JobSection $section)
{
parent::__construct($section);
}
public function index()
{
$importOldUpdates = \App::make(ImportOldJobs::class);
// $importOldUpdates->cleanCurrentTable();
// $importOldUpdates->convertOldJobTable();
return parent::index();
}
}