Class: Merb::Request

Inherits:
Object
  • Object
show all
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_subdomainObject



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