Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can use only one type of view (render) in controller #7

Open
wafcio opened this issue Aug 6, 2014 · 0 comments
Open

can use only one type of view (render) in controller #7

wafcio opened this issue Aug 6, 2014 · 0 comments

Comments

@wafcio
Copy link

wafcio commented Aug 6, 2014

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 ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant