23 lines
412 B
PHP
23 lines
412 B
PHP
<?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);
|
|
}
|
|
}
|