This project is archived and is in readonly mode.
Render shorthands dont's work with namespaced controllers
-
Gravis
- Tag set to actionpack, patch, tested
I'm having an issue with namespaced view, very close to this ticket.
Indeed, everything works fine if I use a single resource, like in the unit tests of the patch.
Anyway, I'm using a polymorphic association, returning different kinds of objects in an Array (ie: @user.posts where posts can be AudioPost and TextPost for example). In this case, the path is incorrect and rails is looking for the views in app/views/audio_posts/audio_post.html.haml instead of app/views/posts/audio_posts/audio_post.html.hamlThanks