Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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!
- |
- */
- Route::get('/', 'PagesController@index');
- Route::get('projects', 'PagesController@projects');
- Route::get('contact', 'ContactController@index');
- Route::resource('admin', 'AdminPanelController');
- Route::resource('posts', 'PostsController');
- Route::get('418', function () {
- return abort(418);
- });
- Route::get('teapot', function () {
- return abort(418);
- });
- Route::get('twitter', function () {
- return header('Location: https://twitter.com/JBG1K');
- });
- Route::get('instagram', function () {
- return header('Location: https://instagram.com/JBG1K');
- });
- Route::get('twitch', function () {
- return header('Location: https://twitch.tv/JBG1K');
- });
- Route::get('steam', function () {
- return header('Location: https://steamcommunity.com/id/JBG1K');
- });
- Route::get('discord', function () {
- return header('Location: https://discordapp.rocks/invite/V4xX3gR');
- });
- Auth::routes();
- Route::get('dashboard', 'DashboardController@index');
Advertisement
Add Comment
Please, Sign In to add comment