app/controllers/cpanel/index.php 例如这里的?
rails g controller 这个命令如何带目录啊?
$ rails g scaffold_controller cpanel/posts title:string body:text
#1 楼 @huacnlee 然后路径如何访问?http://192.168.33.10:3000/cpanel/posts??
#2 楼 @tanjianna yeah