Class: Merb::Request
- Inherits:
-
Object
- Object
- Merb::Request
- Defined in:
- lib/merb_auth_slice_multisite/mixins/user_belongs_to_site/dm_user_belongs_to_site.rb
Overview
Authentication
Instance Method Summary collapse
Instance Method Details
#first_subdomain ⇒ Object
24 25 26 |
# File 'lib/merb_auth_slice_multisite/mixins/user_belongs_to_site/dm_user_belongs_to_site.rb', line 24 def first_subdomain subdomains.first #subdomains is a request variable array so we take the first array entry end |