gregbell/active_admin — pull request #1357 by MOZGIII (2012-05-24 13:27:19+00:00)
Title: Page renaming fix

This fixes `:as` option for page registrtion hen using string instead of model class. This is only effective if you want to have non-latin name of page (i.e. when using activeadmin in russian language).

This is required because when you try to use cyrilic (for example) string as page name, Ruby tries to create `Controller` class, and it fails.
Example:
```ruby
# encoding: utf-8
ActiveAdmin.register_page "Контакты" do
menu :label => "Контакты"
end
```

With this fix I can localize controller name properly:

```ruby
# encoding: utf-8
ActiveAdmin.register_page "Contacts", :as => "Контакты" do
menu :label => "Контакты"
end
```