Okechi Onyeje 86e1dace76 subdomain routing now working to route application to proper app.
- This will need to revamped later on to potentially have a rack app serving the different rails applications and static website.
2017-04-16 16:40:25 -04:00

5 lines
124 B
Ruby

class Subdomain
def self.matches?(request)
request.subdomain.present? && request.subdomain == 'pearlception'
end
end