localhost says that template is missing. routes.rb:
Rails.application.routes.draw do
root 'home#index'
resources :sessions, only: [:new, :create, :destroy]
get 'signup' => 'users#new'
get 'signin' => 'sessions#new'
delete 'signout' => 'sessions#destroy'
get 'about' => 'static_pages#about'
match '*path' => 'application#routing_error', via: :all
end
nothing in my home_controller.rb
any idea to fix this?
You probably already have a home folder under view. If not, create the folder. Then add a index.html.erb with a heading like this:
<h1>Welcome!</h1>
hope this helps
edit You should define and index method too! (not necessary)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With