I try this:
: content => render_to_string (: template => "# {path [: controller]} / # {path [: action]}. html.haml")
In my json, but I use kaminari to paginate and get this error:
ActionView :: Template :: Error (There is no partial kaminari / paginator using {: handlers => [: erb ,: builder ,: coffee ,: haml] ,: formats => [: json] ,: locale => [: ru ,: en]}.
Does anyone know how I solve this?
source
share