jbg1k

web.php

Oct 14th, 2018
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.37 KB | None | 0 0
  1. <?php
  2.  
  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.  
  14. Route::get('/', 'PagesController@index');
  15.  
  16. Route::get('projects', 'PagesController@projects');
  17.  
  18. Route::get('contact', 'ContactController@index');
  19.  
  20. Route::resource('admin', 'AdminPanelController');
  21.  
  22. Route::resource('posts', 'PostsController');
  23.  
  24. Route::get('418', function () {
  25.     return abort(418);
  26. });
  27.  
  28. Route::get('teapot', function () {
  29.     return abort(418);
  30. });
  31.  
  32. Route::get('twitter', function () {
  33.     return header('Location: https://twitter.com/JBG1K');
  34. });
  35.  
  36. Route::get('instagram', function () {
  37.     return header('Location: https://instagram.com/JBG1K');
  38. });
  39.  
  40. Route::get('twitch', function () {
  41.     return header('Location: https://twitch.tv/JBG1K');
  42. });
  43.  
  44. Route::get('steam', function () {
  45.     return header('Location: https://steamcommunity.com/id/JBG1K');
  46. });
  47.  
  48. Route::get('discord', function () {
  49.     return header('Location: https://discordapp.rocks/invite/V4xX3gR');
  50. });
  51.  
  52. Auth::routes();
  53.  
  54. Route::get('dashboard', 'DashboardController@index');
Advertisement
Add Comment
Please, Sign In to add comment