How to generate controller inside namespace in rails
Solution 1:
Try rails g controller admin/users
if you want a users
controller inside of the admin
namespace. Of course, exchange users
with whatever controller name that you'd like.
Solution 2:
Use this command..
rails generate controller namespace_name/controller_name