hobbit-contrib
hobbit-contrib copied to clipboard
can use only one type of view (render) in controller
Based on HAT (Hobbit Application Template), I have writing small apps which use different gems, and i have found little problem(s).
Problem with render and view extension: For example in Ruby on Rails I can define in every action different view type: haml, erb, ...; but in application based on HAT when i use haml in "controller" I am not able to use erb view (which is better for js view - remote request) in one "action" which should receive remote request. It will be good to give opportunity to pass extension in render method.
What do you think about it ?