1.rails g scaffold home
2.in index.html.erb
<<%= notice %>
Homes
Title
Text
<% @homes.each do |home| %>
<%= home.title %>
<%= home.text %>
<%= link_to 'Show', home %>
<%= link_to 'About', about %>
On 9 October 2016 at 14:14, kinoe - wrote:
> Yinka Ash a.k.a
> Netguru
> about_path . i want to views/home/about.html.erb otherwise in my routes
> default make by rls g scaffold is resources :homes. whether i must make new?
I am afraid I do not understand your question, but have you read
carefu
Yinka Ash a.k.a
Netguru
about_path . i want to views/home/about.html.erb otherwise in my routes default
make by rls g scaffold is resources :homes. whether i must make new?
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To unsubscribe
3 matches
Mail list logo