We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d5461e9 commit c686055Copy full SHA for c686055
1 file changed
app/routes/contact.php
@@ -1,3 +1,6 @@
1
<?php
2
-Route::get('contact', 'ContactController@index');
3
-Route::post('contact', 'ContactController@sendMessage');
+
+Route::group(['prefix' => 'contact'], function () {
4
+ Route::get('/', 'ContactController@index');
5
+ Route::post('/', 'ContactController@sendMessage');
6
+});
0 commit comments