Skip to content

Instantly share code, notes, and snippets.

@jackphuongvu
Created December 8, 2018 17:11
Show Gist options
  • Select an option

  • Save jackphuongvu/b9d9da57da3da9d20f05996159ffae0c to your computer and use it in GitHub Desktop.

Select an option

Save jackphuongvu/b9d9da57da3da9d20f05996159ffae0c to your computer and use it in GitHub Desktop.
<?php
/*
|--------------------------------------------------------------------------
| 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!
|
*/
<<<<<<< HEAD
Route::get('/', 'PagesController@getHome');
=======
Route::get('/', function () {
return view('welcome');
});
/**
* Post
*/
Route::get('post', function () {
return view('pages.post.index');
});
>>>>>>> origin/master
<<<<<<< HEAD
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>
@yield('title')
</title>
@yield('stylesheet')
</head>
<body>
{{-- In here we include navbar. --}}
<div class="container">
@yield('body')
</div>
@yield('script')
</body>
</html>
=======
@include('pages.header')
@yield('content')
@include('pages.footer')
>>>>>>> origin/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment