Try loadComponent in initialize instead of $components attribute.
On Mon, Aug 3, 2015 at 6:33 AM, ItsAvinash
wrote:
> I was trying to implement auth in a plugin that I created.
>
> Lets suppose there is a controller name Team, in which there are few
> functions like login() logout() index() apar
I was trying to implement auth in a plugin that I created.
Lets suppose there is a controller name Team, in which there are few
functions like login() logout() index() apart from other crud functions.
Following is the sample code of team controller
namespace Team\Controller;
use Team\C