Skip to content
This repository has been archived by the owner on Dec 1, 2019. It is now read-only.

Different key maybe? #1

Open
dereuromark opened this issue Jul 4, 2014 · 2 comments
Open

Different key maybe? #1

dereuromark opened this issue Jul 4, 2014 · 2 comments

Comments

@dereuromark
Copy link

I wonder if it would be - in light of where the router class goes in 3.x - better to use some underscored key like _route for it:

echo $this->Html->link('About us', array('_route' => 'about'));

Similar to _full, _ext, ... ( http://book.cakephp.org/3.0/en/appendices/3-0-migration-guide.html#router ).
At least for a 3.0 branch this will sure be useful then.

@dereuromark dereuromark changed the title Different prefix maybe? Different key maybe? Jul 4, 2014
@eberfreitas
Copy link
Owner

That is a good idea... This plugin actually precedes cake 3, so that's why it doesn't really work like the new cake 3 router... Maybe this project goal could be to bring maximum compability between cake 2 a 3 and close the gap?

@dereuromark
Copy link
Author

Sure, why not. But that is up to you.
Just wanted to point it out :)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants