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