ActionController::RoutingError(Uninitialized constant AdminsController)

后端 未结 2 1811
孤城傲影
孤城傲影 2021-01-25 11:33

I am using Rails 3 with dhtmlxGrid. I have created a controller called admin in that we defined 3 functions, such as view,data

2条回答
  •  耶瑟儿~
    2021-01-25 11:49

    Try changing the name of your controller to AdminsController. Rails seems to prefer plural controller names.

提交回复
热议问题