1
0
Fork 0
mirror of https://github.com/drapergem/draper synced 2023-03-27 23:21:17 -04:00

adding the missing step in the "Up and Running" section of the readme

This commit is contained in:
Patricio Mac Adden 2012-04-09 10:54:06 -03:00
parent 02ae325cdc
commit fa3171e40d

View file

@ -146,6 +146,14 @@ gem "draper"
Then run `bundle` from the project directory.
### Run the draper:install command
This will create the `app/decorators` directory and the `ApplicationDecorator` inside it.
```
rails generate drapper:install
```
### Generate the Decorator
To decorate a model named `Article`: