I have a rails 3 app that has 2 different UIs that both share the same model but have different UIs. Lets call these retailers and customers "sites". What is the best approach in rails 3 for creating a monolithic application to keep these two apps in one app. Should I just namespace the controllers, and change routing as such?
namespace "retailers" do resources :posts, :comments end
namespace "customers" do resources :posts, :comments end
and place all the customer controllers in customers directory and likewise for retailers? and namespace the view directories as well?