On 27 November 2010 23:46, Zack Nathan <[email protected]> wrote:
>> You don't *have* a singular named controller... and if you did why
>> would you be mapping resources for it?
>
> My controller is named repository.

you said earlier:
> my controller is called RepositoriesController.

...now you're saying is actually RepositoryController?

> I have the resource named repository
> because then I can have url like this: www.xxxx.com/repository/1/bugs/1.
> Is this wrong?

Yes... Marnen's post covers this too - the Rails convention is:
www.xxxx.com/repositories/1/bugs/1

-- 
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