diff --git a/README.md b/README.md index 2fd29a9e..8d400106 100644 --- a/README.md +++ b/README.md @@ -166,6 +166,15 @@ rails generate decorator Article ...to create the `ArticleDecorator`. +If you don't want Rails to generate decorator files when generating a new controller, +you can add the following configuration to your `config/application.rb` file: + +```ruby +config.generators do |g| + g.decorator false +end +``` + ### Accessing Helpers Normal Rails helpers are still useful for lots of tasks. Both Rails' provided