class Admin::ApplicationController < ApplicationController layout: 'admin' end
现在我想创建一个home的controller来继承Admin::ApplicationController,比如:
class Admin::HomeController < Admin::ApplicationController
请问可以用生成控制器命令生成吗 ?
1.4m articles
1.4m replys
5 comments
57.0k users