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