Ruby on Rails model inside namespace can't be found in controller

后端 未结 4 1887
旧时难觅i
旧时难觅i 2021-02-04 11:52

I\'m new to rails and can\'t figure out this issue...

I have a controller

Admin::Blog::EntriesController

defined in app/controllers/adm

4条回答
  •  后悔当初
    2021-02-04 12:33

    Yeah, from looking at the code form_for uses polymorphic_path under the hood.

提交回复
热议问题