Skip to content

Commit 2cec8a5

Browse files
committed
Updates documentation
1 parent da407df commit 2cec8a5

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,18 @@ http://mysite.tld/ \<controller>/\<action>
4040
And it will load the class \Project\Controller\\\<controller>::\<method>\<action>Action
4141

4242
You can easily configure your namespace, controller package and action suffix!
43+
4344
*\<method>* represents the HTTP method used (usually *get* but you can use post/update/delete etc...). This is optional.
4445

4546
Either \<controller> or \<action> are optional and considered as 'index' if not defined.
4647

4748
Therefore
4849

49-
url | class::method
50-
------------------------------------------ | ---------------------------------------
51-
http://mysite.tld/ | \Project\Controller\Index::indexAction
52-
http://mysite.tld/test | \Project\Controller\Test::indexAction
53-
http://mysite.tld/test/action | \Project\Controller\Test::actionAction
54-
http://mysite.tld/also/work/with/full/path | \Project\Controller\Also\Work\With\Full::pathAction
50+
url | class::method
51+
---------------------------------------------- | ---------------------------------------
52+
http://mysite.tld/ | \Project\Controller\Index::indexAction
53+
http://mysite.tld/test | \Project\Controller\Test::indexAction
54+
http://mysite.tld/test/action | \Project\Controller\Test::actionAction
55+
http://mysite.tld/also/work/with/full/path | \Project\Controller\Also\Work\With\Full::pathAction
56+
http://mysite.tld/my/normal | \Project\Controller\My::getNormalAction
57+
http://mysite.tld/my/normal (with HTTP post) | \Project\Controller\My::postNormalAction

0 commit comments

Comments
 (0)