New contact form with friendlycaptcha
This commit is contained in:
@@ -112,5 +112,12 @@ Route::get('/cookie-statement', 'Controller@view_cookie_statement')->name('cooki
|
||||
Route::get('/special/stmaarten', function() { return file_get_contents('http://api-dev.6fm.nl/special/stmaarten'); });
|
||||
Route::get('/kabelkrant', function() { return view('kabelkrant'); });
|
||||
|
||||
// New contact form
|
||||
Route::get('/contact', 'ContactController@show')->name('contact');
|
||||
Route::post('/contact', 'ContactController@submit')->name('contact.submit');
|
||||
Route::get('/contact/video/{filename}', 'ContactController@video')
|
||||
->where(['filename' => '[A-Za-z0-9_\-\.]+'])
|
||||
->name('contact.video');
|
||||
|
||||
// Catch all route for API-based static routes
|
||||
Route::get('{slug}', 'Controller@static_page')->where('slug', '^.*')->name('static_page');
|
||||
|
||||
Reference in New Issue
Block a user