web.php 663 B

12345678910111213141516171819202122232425
  1. <?php
  2. use Illuminate\Support\Facades\Route;
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Web Routes
  6. |--------------------------------------------------------------------------
  7. |
  8. | Here is where you can register web routes for your application. These
  9. | routes are loaded by the RouteServiceProvider within a group which
  10. | contains the "web" middleware group. Now create something great!
  11. |
  12. */
  13. Route::get('/', function () {
  14. return view('home.home');
  15. });
  16. Route::get('/single-blog', function () {
  17. return view('home.single-blog');
  18. });
  19. Route::get('/category-blog', function () {
  20. return view('home.category-blog');
  21. });