lib/active_admin/controller_action.rb in activeadmin-2.1.0 vs lib/active_admin/controller_action.rb in activeadmin-2.2.0

- old
+ new

@@ -1,9 +1,10 @@ module ActiveAdmin class ControllerAction attr_reader :name def initialize(name, options = {}) - @name, @options = name, options + @name = name + @options = options end def http_verb @options[:method] ||= :get end