I have a problem with my road and I do not understand why he called me "dashboard :: task controller" File Dashboard / TasksRub
Class Task Controller in the file in my Controller & lt; In my config / root file, I did it match '/ dashboard / add-task' = & gt; "Dashboard / Task # add_task", via: [: get,: post]
See folder view / dashbaord / tasks / add_task.html .erb
I do not see me or my mistake.
Thanks
First of all, the name of your controller file is tasks_controller. Rb
. Secondly, your task controller
should be nominal:
class dashboard :: task controller & lt; ApplicationController # content end
Comments
Post a Comment