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?
If you're creating an API with no front end, you can go ahead and use rails new --api. However, I don't recommend this option if you do plan to create a front end (for example a single page app) because it turns a lot of things off, including the asset pipeline.