for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace App\Http\Controllers;
use App\Repositories\LocaleRepository;
class LocaleController extends Controller
{
public function assets_ru()
$set_data = new LocaleRepository();
$strings = $set_data->getCacheLng('ru');
return response($strings)->header('Content-Type', 'text/javascript');
}
public function assets_en()
$strings = $set_data->getCacheLng('en');