Missing Partial Error in Rails 3

前端 未结 1 1650
旧时难觅i
旧时难觅i 2021-01-18 14:27

I am getting an error:

Missing partial post/questions, application/questions with
{:locale=>[:en], :formats=>[:html], :handlers=>[:erb, :builder, :c         


        
相关标签:
1条回答
  • 2021-01-18 14:54

    Partials' file names must begin with an underscore. You should have _questions.html.erb saved in the post folder. Also, you don't need to define a 'questions' action.

    0 讨论(0)
提交回复
热议问题