gregbell/active_admin — Issue #1060: Batch Edit breaks on AA root directory
Author: Daxter
Created: 2012-02-22 17:34:45+00:00
State: open

@mattvague's [batch edit branch](https://github.com/mattvague/active_admin/tree/270_batch_edit_api) works fine with default configuration, but it breaks whenever setting AA to assume the root directory:
```undefined method `batch_action_root_[model]s_path' for #<#:0x00000004638d10>
```

Running a ```rake routes```, I discovered that his code adds its own ```batch_action_[model]``` route. The problem, as far as I can tell, is that when setting ```config.default_namespace = false```, it tries adding "root" to the generated batch_action route.