Skip to content

Instantly share code, notes, and snippets.

@elishaukpong
Last active January 2, 2023 12:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save elishaukpong/f324b27eb7230d4b8aebb221896ee921 to your computer and use it in GitHub Desktop.
Save elishaukpong/f324b27eb7230d4b8aebb221896ee921 to your computer and use it in GitHub Desktop.
<?php
use App\Facades\Compliment;
use Illuminate\Support\Facades\Route;
/*
|--------------------------------------------------------------------------
| Web Routes
|--------------------------------------------------------------------------
|
| Here is where you can register web routes for your application. These
| routes are loaded by the RouteServiceProvider within a group which
| contains the "web" middleware group. Now create something great!
|
*/
Route::get('/', function () {
$data['endOfYearWish'] = Compliment::endOfYearWish();
return view('welcome',$data);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment