Re: new controller/model/view problem.
Sounds like AuthComponent is redirecting you. If you don't require a
user to be logged in for the controller you added then add $this->Auth-
>allow() to beforeFilter() in the new controller (check
book.cakephp.org for details)
On Jun 5, 8:05 pm, Alida <whitetigre...@gmail.com> wrote:
> Hi,
>
> Im new to cakephp and a baked everything and added auth.Everything
> worked fine.
>
> Now i'm manually adding a new controller/model/view for a page and
> everytime I go to the url I get redirected to the home page. This is
> not the case with the views I baked. Anyone know wat i'm doing wrong?
> If the controller isn't there I get the missing controller error. When
> it is there I get redirected. (same for the model)
>
> The model doen't use a database table but that shouldn't be a problem
> right?
--
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
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home