Skip to content

Commit 95ff57a

Browse files
Faisal-nfldblock
authored andcommitted
Document Rails 6
1 parent 31f1516 commit 95ff57a

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -221,6 +221,17 @@ Include CSS stylesheets in `app/assets/stylesheets/application.css`.
221221
*/
222222
```
223223

224+
### Enabling in Rails 6 (Sprokets 5)
225+
226+
Rails 6 top-level targets are determined via `./app/assets/config/manifest.js`. Specify `grape-swagger-rails` asset files as follows.
227+
228+
```javascript
229+
//= link grape_swagger_rails/application.css
230+
//= link grape_swagger_rails/application.js
231+
```
232+
233+
See [Upgrading Sprokets](https://github.com/rails/sprockets/blob/master/UPGRADING.md#manifestjs) for more information.
234+
224235
## Contributors
225236

226237
* [unloved](https://github.com/unloved)

0 commit comments

Comments
 (0)