Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
7 lines (4 sloc) 267 Bytes
require 'action_controller/base'
# Allow whatever Ruby Package tool is being used to manage load paths. Also prevents from loading subdomain fu twice.
require 'subdomain-fu' unless defined?(SubdomainFu)
ActionController::Base.send :include, SubdomainFu::Controller