Link not working [Solved]

I’m on 2.6, can’t get why a link is not working.
Here the View link code:

echo $this->Html->link(__('Develope'), 
                      array(  'controller' => 'developer', 
                              'action' => 'devit));

Here is the referred Controller (DeveloperController) code:

public function devit () {
	return $this->redirect(array('controller'=>'generale', 'action' => 'index'));

}

It’s a simple redirecting just to check if I’m “entering” the controller… and it’s not: it redirect (apparently without error) to the same page of the link (sort of a refresh, in fact).

Is your link under the generale controller’s index template?

Thank you. No, my link is echoed in a “customer” view/controller branch.
So, just to test if this link send something to DeveloperController, I inserted this redirect.

Just got it. In the “head” of controller there was this line:

`$this->Auth->allow(‘subscription’, ‘paymentresponse’, ‘contractuploadreminder’, ‘stripe’);

I had to add my new function in the list, even if I don’t know if I have to protect it more.`