I get an int value to the controller and I would like to send it to the according view, but i am either passing or accesing it wrong. Here is what I am trying to do:
Controller:
function send($int = NULL) {
$this->set('integer', $int);
}
View:
echo $integer['int']
Your help is much appreciated!