ruby on rails - Existing controller adding views -
new ror.
i created controller
rails generate controller dave teach speak dig
that created controller dave , 3 views. did backend stuff adding route , adding 3 methods under application.html.erb , correct routes.
now want add more views. have go , manually type out application.html.erb , add new line routes.rb , manually create new view? (3 steps)
or there line of code me original line
i recommend read guides @ http://guides.rubyonrails.org/
in case http://guides.rubyonrails.org/layouts_and_rendering.html you...
Comments
Post a Comment