Commit 02b843b3 authored by Marcel Hoppe's avatar Marcel Hoppe

fix typo

parent 76fa3c5a
...@@ -13,7 +13,7 @@ module ActiveBunny ...@@ -13,7 +13,7 @@ module ActiveBunny
@@fanouts = {} @@fanouts = {}
@@queues = {} @@queues = {}
def self.load_config(file) def self.load_config(config_file)
self.config = YAML.load(ERB.new(IO.read(config_file))).deep_symbolize_keys[Rails.env.to_sym] self.config = YAML.load(ERB.new(IO.read(config_file))).deep_symbolize_keys[Rails.env.to_sym]
end end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment