admin.rb 151 Bytes Raw Blame History Permalink 1 2 3 4 template = ERB.new File.new("#{Rails.root}/config/admin.yml").read processed = template.result(binding) ADMIN_CONFIG = YAML.load(processed)[Rails.env]