> resources :cars, :controller => "products"
> resources :trucks, :controller => "products"
>
> Cheers,
>
> Michael


This method also creates your path helpers, so you can then do
car_path(@product) and truck_path(@product) or if you have car and
truck models, a simple url_for(@product) will do the job as well.


Cheers,

Michael



-- 
Checkout my new website: http://myachinghead.net
http://wakeless.net

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" 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/rails-oceania?hl=en.

Reply via email to