I just started my tracks. I'm trying to define routes but the format of my controller is underlined. Therefore, I do not know how to write route.
This is my controller file name:
This is my route file
Rails.application.routes.draw do # For more details on the DSL available in this file, see http://guides.rubyonrails.org/routing.html get & # 39; type_method / index & # 39; root_mode_method # index & # 39; end
The result is incorrect:
Constant uninitialized MethodTypeController