Friday, 23 August 2013

Don't create view folder on rails generate controller

Don't create view folder on rails generate controller

This is a trivial question, but I'm curious:
Is there a way with the usual generators config to turn OFF the creation
of the view folders and action templates when you run a rails generate
controller?
I can't find an option anywhere and the code here doesn't show me any
pointers.
We are likely going to be building our own controller / resource
generators at some point anyway, for our API, but I was curious if there
was a way to turn off this annoyance in the meantime.

No comments:

Post a Comment