Partials grouped in sub-folder

后端 未结 1 1360
盖世英雄少女心
盖世英雄少女心 2021-02-07 02:17

I have a view that relies on several partials. In wanting to group these partials, I moved them into a sub-folder but when I call the partial I get a Missing template clie

相关标签:
1条回答
  • 2021-02-07 02:45

    You will need to use the path from the app/views folder

    = render :partial => "reports/client_demographics/age"
    
    0 讨论(0)
提交回复
热议问题