lib/active_admin/router.rb in activeadmin-1.0.0 vs lib/active_admin/router.rb in activeadmin-1.1.0

- old
+ new

@@ -69,10 +69,10 @@ end def resource_routes(config) Proc.new do # Builds one route for each HTTP verb passed in - build_route = proc{ |verbs, *args| + build_route = proc{ |verbs, *args| [*verbs].each{ |verb| send verb, *args } } # Deals with +ControllerAction+ instances build_action = proc{ |action| build_route.call(action.http_verb, action.name)