concept namespaced controller in category rails
appears as: namespaced controller

This is an excerpt from Manning's book Rails 4 in Action: Revised Edition of Rails 3 in Action.
When you use the / separator between parts of the controller, Rails knows that you want a namespace. In this case, it will generate a namespaced controller called Admin: :ApplicationController at app/controllers/admin/application_controller.rb. The views for this controller are at app/views/admin/application, and the spec is at spec/controllers/admin/application_controller_spec.rb. Because you passed in the word index at the end, this controller will contain an index action, and there will also be a view at app/views/admin/application/index.html.erb for this action, as well as a route defined in config/routes.rb, like this: