Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
s-damian committed Mar 17, 2024
1 parent 978436d commit b14ff61
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,11 @@ An example of a route listing:
<?php

Router::group(['namespace' => 'Front\\', 'prefix' => 'website'], function () {
Router::post(
'/contact',
'Contact@sendMail',
['name' => 'contact_send-mail']
);
Router::group(['prefix' => '/blog'], function () {
Router::get(
'',
Expand All @@ -101,11 +106,6 @@ Router::group(['namespace' => 'Front\\', 'prefix' => 'website'], function () {
'Article@show',
['name' => 'article_show']
);
Router::post(
'/contact',
'Contact@sendMail',
['name' => 'contact_send-mail']
);
});
});
```
Expand Down

0 comments on commit b14ff61

Please sign in to comment.