Home Page Question
I'm having trouble fully wrapping my head around how to setup a home page. What if I wanted to just have a home page that was for looks, and then a link to the restaurants, listings, or craiglists posts. For Craigslist we wrote Rails.application.routes.draw do
So for listings would it just be ... root 'listings#home' ..... and then make a link for listings with ... get 'listings' => "listings#index"
Posted about 5 years ago by