When installed to custom namespace, view generators keep using "/admin" #1632
Labels
feature
new functionality that’s not yet implemented
install
initial setup, first-run experience, generators
namespacing
models with a namespace
I am supporting project where administrate plugged to "console" namespace instead of "admin".
Problem
Every time I generate custom views in this project, they are generated into the default folder
Potential solutions
Provide custom setting during installation, where custom namespace gets remembered, and used when you run generators
Support "--namespace=console" option for view generators the same way it works during installation:
"rails generate administrate:views:index Modelname --namespace=console"
Versions
rails (6.0.2)
administrate (0.12.0)
The text was updated successfully, but these errors were encountered: