On Tue, Sep 2, 2008 at 6:27 AM, nick <[EMAIL PROTECTED]> wrote:
>
> thanks for your help.
>
> adding the line
>    <%= link_to('Start a new topic', "new_forum_topic") %>
> in /forums/show.html.erb
>
> generates this link
>    http://localhost:3000/forums/new_forum_topic
>
> which generates this error
>    Couldn't find Forum with ID=new_forum_topic
>

Did you ever get this sorted out?

I think you need to use the forum id with this nested route:
link_to "start a new topic", new_forum_topic_path(@forum) %>


steve

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Lovd by Less" 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/lovdbyless?hl=en
Who loves ya baby?
-~----------~----~----~----~------~----~------~--~---

Reply via email to