I'm new to ruby on rails programmer.
I ran in the windows console rails generate controller hello then I created the page in the View folder an index.html.erb file, then I configured the route in the routes.erb file creating the following line;
get 'hello / index'
And I typed the URL localhost: 3000 / hello / index generated this error;
Couldsomeonetellmewhat'swrong?
WhycannotIuploadmypageifIconfiguredtheroutecorrectly?
Gettingtheproblemresolvedthroughthispost
link
in the views / layouts / application.html.erb file I changed this;
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
therefore;
<%= stylesheet_link_tag 'default', media: 'all', 'data-turbolinks-track' => true %>
<%= javascript_include_tag 'default', 'data-turbolinks-track' => true %>
I'd just like to know why you resolved.