did you solve your problem?

On Fri, Sep 10, 2010 at 11:40 AM, Robert Pankowecki (rupert) <
[email protected]> wrote:

> I have 3 different type of addresses fot person. I can create and
> display them using same views currently (but that might change in the
> future) so I created one controller which recognizes which kind of
> address you want to deal with now by checking the URL. In a moment
> when there is some benefit of maintaining them with separate
> controllers then I can change it without changing urls.
> Now going to /addresses shows all of them but going to /
> mailing_addresses or /registered_addresses shows only subtypes. It's
> not so complicated to create another controller.
>
> --
> 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