0

I'm doing a ajax request. The backend might render a partial haml and return it. I'm getting this error

Padrino::Rendering::TemplateNotFound at /feedhtml

backend code

render :partial => 'feedhtml', :layout => false

Also I tried a tons of variation of this code.

Fernanda Fentili
  • 169
  • 2
  • 11

1 Answers1

-1

can you check the right folder where you put feedhtml? now it searchs in views/ is that what you want?

check the subfolder.

render :partial => 'partial/feedhtml', :layout => false

if you files is in

views/partial/feedhtml

  • Please don't misuse the answer feature to ask for clarification or make non-answer remarks. Use comments for that instead. If you can't comment yet, get the necessary reputation to do so by answering clear questions until then. – Magisch Nov 28 '16 at 12:13