Commit 1c702843659186ee7cb2691b5870893af8988ee2

Authored by Karpikau Andrei
1 parent b8e344dc

add template for render row and cell

@@ -107,10 +107,10 @@ module Kanjai @@ -107,10 +107,10 @@ module Kanjai
107 "data-class='#{cell['className']}'", 107 "data-class='#{cell['className']}'",
108 ] 108 ]
109 109
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(' ')} 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 end 111 end
112 112
113 - html += ApplicationController.render file: 'kanjai/pages/templates/row', assigns: {content: cells} 113 + html += ApplicationController.render file: 'kanjai/pages/templates/row', assigns: {content: cells}, layout: false
114 114
115 end 115 end
116 116
1 module Kanjai 1 module Kanjai
2 - VERSION = "0.0.124" 2 + VERSION = "0.0.125"
3 end 3 end