lib/para/config.rb in para-0.5.3 vs lib/para/config.rb in para-0.5.4

- old
+ new

@@ -55,10 +55,12 @@ def self.page_actions_for(type) page_actions[type] ||= [] end - def self.add_actions_for(type, &block) - page_actions_for(type) << block + def self.add_actions_for(*types, &block) + types.each do |type| + page_actions_for(type) << block + end end end end