chintan39 / wildblog

Automatically exported from code.google.com/p/wildblog
Other
0 stars 0 forks source link

Redesign actions definition (3h) #164

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
It is not effective to load the whole controllers only to distinguish the 
action. It would be better to create much smaller object which can call 
controllers itself.

Original issue reported on code.google.com by horak.honza@gmail.com on 26 Feb 2011 at 6:02

GoogleCodeExporter commented 9 years ago

Original comment by horak.honza@gmail.com on 24 Apr 2011 at 8:46

GoogleCodeExporter commented 9 years ago
Use the following style of definition:
Router::registerAction('BaseSomeController', 
'path')->setBranch()->setPermission()->setUrl();

Original comment by horak.honza@gmail.com on 3 Jul 2011 at 2:32

GoogleCodeExporter commented 9 years ago

Original comment by horak.honza@gmail.com on 16 Jul 2011 at 1:12