Newer
Older
<?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()
{
'title' => 'MetaGer: Sicher suchen & finden, Privatsphäre schützen',
'homeIcon']);
});
Route::get('impressum', function()
->with('title', 'Impressum - MetaGer')
->with('title', 'Über Uns - MetaGer');
->with('title', 'Team - MetaGer')
->with('title', 'Team - MetaGer');

Dominik Hebeler
committed
Route::get('kontakt', function()
{
return view('kontakt.kontakt')
->with('title', 'Kontakt - MetaGer')

Dominik Hebeler
committed
->with('css', 'kontakt.css')
->with('js', ['openpgp.min.js','kontakt.js']);
});

Dominik Hebeler
committed
Route::post('kontakt', 'MailController@contactMail');
Route::get('meta/meta.ger3', 'MetaGerSearch@search');
Route::get('spende', function()
{
return view('spende')
->with('title', 'Spenden - MetaGer')
->with('css', 'donation.css');
});
Route::post('spende', 'MailController@donation');
Route::get('datenschutz', function()
{
return view('datenschutz')
->with('title', 'Datenschutz und Privatsphäre - MetaGer')
->with('css', 'privacy.css');
Route::get('hilfe', function()
{
return view('hilfe')
->with('title', 'Hilfe - MetaGer')
->with('css', 'help.css');
});
Route::get('meta/meta.ger3', 'MetaGerSearch@search');