Commit 585cfea
Patch for newer Rails versions not supporting text option for render
Calling `render text: ...` has been deprecated in `rails@5.1`.
This commit [replaces `text:` with `html:`][docs].
[docs]: http://guides.rubyonrails.org/layouts_and_rendering.html#rendering-html1 parent bd18720 commit 585cfea
2 files changed
+4
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
| 5 | + | |
5 | 6 | | |
| 7 | + | |
6 | 8 | | |
7 | 9 | | |
8 | 10 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | 13 | | |
0 commit comments