You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We noticed today on a staging site properly setup with the apache redirects, that as is, the module is not sending the correct mobile templates. We created a work around with a new initializer and adding this code in (this is specific for our domains of course):
ActionDispatch::Request.class_eval do
def subdomain(num=1)
Rails.logger.warn "Overriding with #{num} for domain: #{domain}"
if domain == "browsermedia.com"
super(2)
else
super(num)
end
end
end
The text was updated successfully, but these errors were encountered:
We noticed today on a staging site properly setup with the apache redirects, that as is, the module is not sending the correct mobile templates. We created a work around with a new initializer and adding this code in (this is specific for our domains of course):
ActionDispatch::Request.class_eval do
end
The text was updated successfully, but these errors were encountered: