1
in the file Routes
Rails.application.routes.draw do
root 'pages#home'
get 'about', to: 'pages#about'
# For details on the DSL available within this file, see http://guides.rubyonrails.org/routing.html
end
but when I type the URL it creates a problem as in the figure below;
Did I type something wrong in the file Routes?
sorry, I am still learning to program in Ruby on Rails, I am studying with courses that do not speak in Portuguese, it is difficult to find good materials of courses in Portuguese, but this helped and solved my question the problem really was the controller.
– wladyband
No need to apologize @wladyband, this place is exactly for you to ask questions, you are on the right track. If the answer helped you mark it as correct (this "v" below the counter). Needing we will always be here to help. Good studies.
– Luiz Carvalho