I created a resource earlier
rails g active_admin:resource Question
How do I remove it?
Try the rails destroy command:
rails destroy active_admin:resource <Resource Name>
Example:
rails generate active_admin:resource Question
create app/admin/questions.rb
rails destroy active_admin:resource Question
remove app/admin/questions.rb
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.