maximebf / atomik

Micro framework for PHP 5.3+ [UNMAINTAINED]
MIT License
46 stars 18 forks source link

Plugin Controller #40

Open vbocquel opened 9 years ago

vbocquel commented 9 years ago

Hi

I'm using the Controller plugin and I believe the documentation is wrong. It says : "When using the router, the action parameter is mandatory. This plugin adds another mandatory parameter named controller. This parameter refers to the controller name whereas the action parameter refers to a method of the controller class."

I was not able to use this kind of syntax. In fact, the only way to get it right is by using the action parameter with "controller/method". A TestController with a viewTest() method can be called with "test/viewTest".

ghost commented 9 years ago

I just got the same problem.

griffonfab commented 9 years ago

Just got the same problem.

GilDev commented 9 years ago

The author seems to have abandoned this project, sorry…