Created by: gracewashere
No functional changes, just pulling code out into an engine
The engine lives in the administrate/
folder in the root of the repository.
- Namespace everything in
Administrate::
module - Prefix generators with
Administrate::Generators::
Generators are now run as:
rails generate administrate:install
rails generate administrate:dashboard customer
- Create a new Rails engine for Administrate
- Command:
rails plugin new administrate --mountable
- Command:
- Move lib/administrate folder to engine
- Extract controllers and views to engine
- Move administrate javascript to engine
- also copied over the jQuery dependency - we'll likely want to remove this later.