Closed kmx411 closed 8 years ago
I can't seem to use a variable passed into my HandlebarsTemplate in a slim rails block.
h1 = User.find({{id}}.first_name
where id is passed to HandlebarsTemplates
I think it's because there's not hb helper for slim. Is there another way to do this?
Sorry my bad, clearly need to make another Ajax request first
I can't seem to use a variable passed into my HandlebarsTemplate in a slim rails block.
h1 = User.find({{id}}.first_name
where id is passed to HandlebarsTemplates
I think it's because there's not hb helper for slim. Is there another way to do this?