Skip to content
Snippets Groups Projects
routes.php 1.3 KiB
Newer Older
Dominik Hebeler's avatar
Dominik Hebeler committed
<?php

/*
|--------------------------------------------------------------------------
| Application Routes
|--------------------------------------------------------------------------
|
| Here is where you can register all of the routes for an application.
| It's a breeze. Simply tell Laravel the URIs it should respond to
| and give it the controller to call when that URI is requested.
|
*/

    Route::group(['prefix' => LaravelLocalization::setLocale()], function()
    {
        /** ADD ALL LOCALIZED ROUTES INSIDE THIS GROUP **/
        Route::get('/', function()
        {
        	return view('index', [ 
            'title' => 'MetaGer: Sicher suchen & finden, Privatsphäre schützen', 
            'homeIcon']);
        });
        Route::get('impressum', function()
        	return view('impressum')
        		->with('title', 'Impressum')
        		->with('css', 'impressum.css');
        Route::get('about', function()
        {
Phil Höfer's avatar
Phil Höfer committed
        	return view('about')
        		->with('title', 'Über Uns');
Dominik Hebeler's avatar
Dominik Hebeler committed
        Route::get('team', function()
        {
        	return view('team.team')
        		->with('title', 'Team');
        });
        Route::get('team/pubkey-wsb', function()
        {
        	return view('team.pubkey-wsb')
        		->with('title', 'Team');
        });
Dominik Hebeler's avatar
Dominik Hebeler committed