I just want to make sure I'm not missing something here. If you're on
an admin page and have admin routing enabled, does the HtmlHelper
default the 'admin' option to true?
For example, I'm using the HtmlHelper to create links in my default
layout. These links include:
$html->link('about', array('controllers'=>'pages',
'action'=>'display', 'about'))
$html->link('admin', array('controllers'=>'users', 'action'=>'index',
'admin'=>true))
$html->link('contact', array('controllers'=>'contacts',
'action'=>'index', 'plugin'=>'contact))
Do I need to manually set the 'admin' option to false for the 'about'
and 'contact' link? Consequently, should I also set the 'plugin'
option to null for the 'about' and 'admin' link?
--
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/cake-php?hl=.