Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
Add precompile to make sure ckeditor load during production
  • Loading branch information
Ajmal authored Aug 7, 2017
1 parent 4b747ed commit 00288aa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,12 @@ The last version works with Rails 3.2.x is 4.1.3
gem 'ckeditor', '4.1.3'
```

Include this inside your `config/initializers/assets.rb`:

```
Rails.application.config.assets.precompile += %w( ckeditor/*)
```

For file upload support, you must generate the necessary file storage models.
The currently supported backends are:

Expand Down

0 comments on commit 00288aa

Please sign in to comment.