Commit b8e344dcec62c5dc0525e1f172c11c60077f016f

Authored by Karpikau Andrei
1 parent 533288e5

add template for render row and cell

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