Hi,
you could just use a variable inside your controller?
Set it inside your action as $this->cn_id = $your_id and change your
code to:
> function beforeRender()
> {
> if($this->cn_id){
> $current_cn = $this->Account->Note->read(null, $this->cn_id);
> $thi
Hi All,
I assumed that you could use variables set in an action in a
beforeRender function because it is called after the controller action
but I guess I am wrong. is there a way to pass a variable to
beforeRender? Here is my code:
function beforeRender()
{
if($id){
$cu