namespace :admin do
resources :posts do
collection do
get 'whatever'
end
end
end
I was expect that will generate 'whatever_admin_posts_path' helper method, but it didn't.
It's there something wrong with my codes? Or a bug in rails?