The difference would be in naming conventions
Sticking with conventions, 'seller' in your redirect should be plural 'sellers' to reference controllers.
Singular 'Seller' to reference the model of the same name.
Also,
---> and u told me to do this
---> try:: $this->redirect('/sellers/message');
---> try:: $this->redirect('/sellers/
of course do not use try:: in your code, just $this->redirect('/sellers/message');
(sorry if that confused you, it's a bad habit of mine)
On Saturday, March 31, 2012 1:12:14 AM UTC-4, LITTO CHACKO wrote:
@crotchi wrote like this..$this- >redirect('/seller/message/'); and u told me to do this
try:: $this->redirect('/sellers/message'); what's the difference between two???? is it same???Litto ChackoAxtec Softwares
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment