Module: SubdomainRoutes::Resources

Defined in:
lib/subdomain_routes/resources.rb

Class Method Summary (collapse)

Class Method Details

+ (Object) included(base)



3
4
5
6
# File 'lib/subdomain_routes/resources.rb', line 3

def self.included(base)
  base.alias_method_chain :action_options_for, :subdomains
  base::INHERITABLE_OPTIONS << :subdomains
end