Im having 2 different languages in my rails app and would like to be able to set the domain name set in the right language. For example if a user registers from app.FR I want in below example the extension .FR used instead of .COM is there a way to do that?
config.action_mailer.asset_host = "http://app.com"
config.action_mailer.default_url_options = {:host => 'app.com'}