first commit
This commit is contained in:
18
app/Http/Controllers/IndexController.php
Normal file
18
app/Http/Controllers/IndexController.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use Illuminate\Http\Request;
|
||||
use App\Models\DanhSachGiaiThuong;
|
||||
|
||||
class IndexController extends Controller
|
||||
{
|
||||
public function index () {
|
||||
return view('frontend.index');
|
||||
}
|
||||
|
||||
public function frameContainer () {
|
||||
$danhsachgiaithuong = DanhSachGiaiThuong::orderBy('da_nhan_giai', 'asc')->orderBy('so_thu_tu', 'asc')->get();
|
||||
return view('frontend.frame_container')->with('danhsachgiaithuong', $danhsachgiaithuong)->render();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user