Ketan, I apologize for not being clear; this is what I meant:
http://www.domain.edu/news/ http://www.domain.edu/news/stories/edit/1 http://www.domain.edu/news/alerts/edit/1 http://www.domain.edu/news/sections/edit/1 http://www.domain.edu/poll/ http://www.domain.edu/poll/questions/edit/1 http://www.domain.edu/poll/answers/edit/1 Where 'news' and 'poll' would be two different applications. Right now I've got this: http://www.domain.edu/news/ http://www.domain.edu/news_stories/edit/1 http://www.domain.edu/news_alerts/edit/1 http://www.domain.edu/news_sections/edit/1 http://www.domain.edu/poll/ http://www.domain.edu/poll_questions/edit/1 http://www.domain.edu/poll_answers/edit/1 I am hoping there is a better way. Thanks! Shawn On Aug 14, 2:14 pm, Ketan Patel <[EMAIL PROTECTED]> wrote: > Shawn, > > I think you have to read the manual first. Edit is not a controller, > it is an action for the controller. So for your case, poll, news are > the controller. > > Cheers, > Ketan > > starkey wrote: > > On Aug 14, 11:13 am, Joel Stein <[EMAIL PROTECTED]> wrote: > > > Why not just make these all in one application, but with several > > > controllers? Then you can tie them together with AppController. > > > Thanks for your reply. I don't think I can because I need my URLs to > > be similar to: > >http://www.domain.edu/news/edit/1 > >http://www.domain.edu/poll/edit/1 > > > Can I have two "edit" controllers/views if everything is in one > > application? Would you have a moment to explain how? I sure would > > appreciate it! Keep in mind that there are about a dozen programs > > planned so putting all "edit" logic in one controller would not be > > practical. > > > Thanks! > > Shawn --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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=en -~----------~----~----~----~------~----~------~--~---
