views:

71

answers:

1

Dears,

In My Rails Project i'm using subdomain_fu for subdomain support. but i was looking for the Model-Based Subdomain support in subdomain_fu as in my application 2 models have subdomain fields. and i would like to route the application according to the subdomain specified as check the subdomain is related to which model and start routing with representing them to the rails routes.

Regards, Shenouda Bertel

A: 

Watch this screen cast, it describes a solution for your scenario.

KandadaBoggu
Subdomain_fu cast from railscasts implement only one model which was "Bolg" and the subdomains was for Articles "Personal and Company" which is items from blog model.i'm looking for implementing 2 subdomains models like "Account and Conference" each have his own subdomains.
ShenoudaB