Commit 583a299ef245171d0b95f5bed90adad2f4a7658c
1 parent
1c702843
add template for render row and cell
Showing
2 changed files
with
2 additions
and
2 deletions
| ... | ... | @@ -110,7 +110,7 @@ module Kanjai |
| 110 | 110 | cells += ApplicationController.render file: 'kanjai/pages/templates/cell', assigns: {content: html.html_safe, cell: cell, class_name: cell_class_name, data_attributes: data_attributes.join(' ')}, layout: false |
| 111 | 111 | end |
| 112 | 112 | |
| 113 | - html += ApplicationController.render file: 'kanjai/pages/templates/row', assigns: {content: cells}, layout: false | |
| 113 | + html += ApplicationController.render(file: 'kanjai/pages/templates/row', assigns: {content: cells.html_safe}, layout: false).html_safe | |
| 114 | 114 | |
| 115 | 115 | end |
| 116 | 116 | ... | ... |