Created
November 16, 2010 16:01
-
-
Save blasterpal/701972 to your computer and use it in GitHub Desktop.
Rails Custom Config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module MaxMedia | |
module Configuration | |
def ldap | |
MaxMedia | |
end | |
end | |
class << self | |
attr_accessor :server, :port, :query, :content_group, :approval_group, :publish_group, :bind_user, :password, :user_base | |
end | |
end | |
Rails::Configuration.send :include, Maxmedia::Configuration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment