Render can't find templates in subfolders #359

prajwalkman opened this Issue Mar 10, 2013 · 1 comment

2 participants


I didn't have this issue when I was using ERB, but ran into it while converting my templates to slim.

My view structure is like so:

|- profiles/
|--- forms/
|------- _some_form_1.html.slim
|--- edit.html.slim

Previously, I was calling render inside edit like so:
render 'profiles/forms/some_form_1'
and this was working fine.

After changing to slim, this is no longer working. Rails raises the default ActionView::MissingTemplate in Profiles#edit error. What gives?


This is not a Slim issue

@minad minad closed this Mar 11, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment