gregbell/active_admin — pull request #1162 by simonc (2012-03-21 09:41:50+00:00)
Title: Using ControllerAction#options to allow custom routes customization

This allows something like this

``` ruby
ActiveAdmin.register Article do
collection_action 'some_action/:param', :action => 'hello', :as => 'foo' do
# ...
end
end
```

to generate something like that

foo_admin_articles GET /admin/articles/some_action/:param(.:format) admin/articles#hello {:method=>:get}