thx luis,

i know what u are describing. what i didnt know and dont know how to "undo"
is:

being on a regular resource, eg index-view of projects, all urls show fine,
eg :3000/tasks, 3000/milestones, ....

but being on the admin/categories resource and i hover over the "link_to
projects" and all the others, it shows me /admin/projects. i didnt specify
that, so im just wondering ....

thx



On Thu, Oct 21, 2010 at 1:06 PM, Luis Saffie <[email protected]> wrote:

> You just added categories to your admin resource. That said, you'll end
> up with routes looking like this /admin/id/resource.
>
> What that means is that any time you need to call a resource, you'll
> have to include the admin id in it as they as "nested".
>
> You could have a look at this railscast
> http://railscasts.com/episodes/139-nested-resources
>
>
> Luis
>
> http://www.saffie.ca
>
> --
> Posted via http://www.ruby-forum.com/.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Ruby on Rails: Talk" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<rubyonrails-talk%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" 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/rubyonrails-talk?hl=en.

Reply via email to