How to render templates with action_fallback

I am converting my site to make use of the new Phoenix 1.3 features including action_fallback. I am trying to skinny my controllers but cannot figure out how to render templates in the action_fallback. Every example seems to be for APIs that render generic json. My main issue is that I need to determine which view to render the templates from. For the template names I can assume “new.html” and “edit.html” generically depending on the action, but don’t know of any way to determine the view from the conn and changes without explicitly mapping every changeset type to a view. Help would be appreciated.

Did you look at the various Phoenix.Controller functions like view_module/1?

Thank you for the quick response. It looks like view_module/1 will work!