[WIP] Setup of skeleton
This commit is contained in:
22
app/Http/Controllers/JS/CacheController.php
Normal file
22
app/Http/Controllers/JS/CacheController.php
Normal file
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers\JS;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
use App\Http\Controllers\Controller;
|
||||
|
||||
use App\Repositories\Config;
|
||||
|
||||
class CacheController extends Controller
|
||||
{
|
||||
public function getCacheVersions()
|
||||
{
|
||||
$data['versions'] = Config::getCacheVersions();
|
||||
|
||||
$d = (string) view('js.cache', $data);
|
||||
$d = html_entity_decode($d);
|
||||
|
||||
return self::render($d);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user