Skip to content

Commit c686055

Browse files
committed
app: grouped routes for contact feature
Related to #615
1 parent d5461e9 commit c686055

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

app/routes/contact.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
11
<?php
2-
Route::get('contact', 'ContactController@index');
3-
Route::post('contact', 'ContactController@sendMessage');
2+
3+
Route::group(['prefix' => 'contact'], function () {
4+
Route::get('/', 'ContactController@index');
5+
Route::post('/', 'ContactController@sendMessage');
6+
});

0 commit comments

Comments
 (0)