Buy or Subscribe
You can access this course in just a minute, and support my efforts to rid the world of crappy online courses!
The Code
Creating a Rails controller:
rails g controller home about
This creates a home_controller for us with two routes: index and about.
Setting our default root route:
Setting our default root route:
root "home#index