-
-
Notifications
You must be signed in to change notification settings - Fork 383
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
New views should be html.haml or html.erb #314
Comments
Yeah maybe if you can find a cheap way to figure out which one we should use. Personally I don't think typing out the extensions is that big of deal. |
It's not a big deal, but I dislike having to do it all the time. Could you do the same thing you did to handle the creation of new javascript files? That just checks to see if the coffee-rails gem is there, right? |
Difference there is that There's also a lot of convolution around the first (format) extension being optional which introduces further complication. If you want to tackle, start by coming up with an approach just to default it to |
If you type
:Rview home/index!
then you getapp/views/home
with no file extension.The Rails generators will give you a html.erb file, or a html.haml file if you have the haml-rails gem. You can try this with
rails g controller home index
. Could Rview do the same thing?The text was updated successfully, but these errors were encountered: