lib/firewool/instance_methods.rb in firewool-0.1.1 vs lib/firewool/instance_methods.rb in firewool-0.1.2

- old
+ new

@@ -12,10 +12,10 @@ end end end def ip_allow?(ip) - firewool_config = self.class.firewool_config[Rails.env] + firewool_config = self.class.firewool_config.yaml_config[Rails.env] if firewool_config['ip_restriction'] # get our policy from the conf file allowed_ranges = firewool_config['allow'] denied_ranges = firewool_config['deny'] \ No newline at end of file