generate controller empty app view folder
This is just occurring with me or this new rails when i generate a new controll开发者_Python百科er the view folder still empty.
Try adding a method to the generate command
Rails generate controller yourcontroller index
I found this will make the controller and the view
Views aren't created until you generate them through one of the rails generate
commands, or manually by adding in files.
http://guides.rubyonrails.org/getting_started.html
精彩评论