dnsrecords.io/routes/web.php
Freek Van der Herten c06b983d0d
Append URLs (#19)
Append the entered command to the URL, and allow users to browse directly to a command
2017-10-29 12:55:35 +01:00

4 lines
158 B
PHP

<?php
Route::get('/', 'HomeController@index')->name('home');
Route::match(['get', 'post'], '/{command}', 'HomeController@submit')->middleware('logRequest');