Files
opensem/app/Http/Controllers/JS/CacheController.php
Ludovic CANDELLIER 36267139a1 [WIP] Setup of skeleton
2020-03-25 00:08:27 +01:00

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);
}
}