RailsCasts Pro episodes are now free!

Learn more or hide this

AmateurGolfer's Profile

GitHub User: AmateurGolfer

Comments by

Avatar

I think the order of the routes is important to make this work properly.

resources :products

get ':id', to: 'pages#show', as: :page
resources :pages, except: :show
root to: 'products#index'

Avatar

Any idea on how to test the mailer for the contact form in Rails 4?