mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-11-14 10:08:49 +01:00
Initial Commit for Laravel App / Pomf Clone
This commit is contained in:
1 parent
02063858ba
commit
35ea416993
77 files changed
+24805
-19
No files matched your search
@@ -0,0 +1,21 @@
|
||||
<?php
|
||||
|
||||
namespace App\Http\Controllers;
|
||||
|
||||
use App\Grills\GrillFactory;
|
||||
use App\Models\Video;
|
||||
use Illuminate\Http\Request;
|
||||
|
||||
class WelcomeController extends Controller
|
||||
{
|
||||
public function do() {
|
||||
// View Data
|
||||
$grill = GrillFactory::getGrill();
|
||||
$videoCount = Video::count();
|
||||
|
||||
return view('welcome', [
|
||||
'grill' => $grill->getPath(),
|
||||
'videoCount' => $videoCount
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user