I want to move some code from the app / admin
folder to an external gem.
I have tried it many times and not successfully - page does not appear in ActiveAdmin.
Can anyone tell me in some direction?
I would say that you should look at the gem file structure for some time
< Code> your_gem └── lib ├── admin │ └── some_model.rb └── your_gem.rb
and file your_gem.rb
in Should be required 'admin / Some_model'
Comments
Post a Comment