zuul 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/lib/zuul/action_controller.rb +1 -0
- data/lib/zuul/version.rb +1 -1
- metadata +1 -1
|
@@ -97,6 +97,7 @@ module Zuul
|
|
|
97
97
|
|
|
98
98
|
def parse_access_control_args(*args)
|
|
99
99
|
args = args[0] if args.is_a?(Array)
|
|
100
|
+
args = {} if args.nil?
|
|
100
101
|
filter_args = args.select { |k,v| [:except, :only].include?(k) }
|
|
101
102
|
[:except, :only].each { |k| args.delete(k) }
|
|
102
103
|
return [args, filter_args]
|
data/lib/zuul/version.rb
CHANGED