rails g administrative:views inflects differently than specific adminstrate generator
Created by: armahillo
ruby-2.0.0-p645 armahillo@webdev:~/myapp$ rails g administrate:views:index
create app/views/admin/application/index.html.erb
create app/views/admin/application/_collection.html.erb
ruby-2.0.0-p645 armahillo@webdev:~/myapp$ rails g administrate:views:show
create app/views/admin/application/show.html.erb
ruby-2.0.0-p645 armahillo@webdev:~/myapp$ rails g administrate:views:edit
create app/views/admin/application/edit.html.erb
create app/views/admin/application/_form.html.erb
ruby-2.0.0-p645 armahillo@webdev:~/myapp$ rails g administrate:views:new
create app/views/admin/application/new.html.erb
identical app/views/admin/application/_form.html.erb
ruby-2.0.0-p645 armahillo@webdev:~/myapp$ rails g administrate:views
create app/views/admin/applications/index.html.erb
create app/views/admin/applications/_collection.html.erb
create app/views/admin/applications/show.html.erb
create app/views/admin/applications/new.html.erb
create app/views/admin/applications/_form.html.erb
create app/views/admin/applications/edit.html.erb
identical app/views/admin/applications/_form.html.erb
It's unclear if this is intentional or not, but if you specify the action on rails g administrate
it uses the "application" subdirectory, whereas if you do not specify an action it pluralizes to "applications".
If this is intentional, the documentation on http://administrate-prototype.herokuapp.com/customizing_page_views did not reflect this discrepancy.