ActionView::设计/会话中缺少模板#new
ActionView::MissingTemplate in Devise/sessions#new
Showing /app/views/layouts/application.html.erb where line #36 raised:
Missing partial devise/sessions/rightsidediv with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]} in view paths "/app/views", "/home/user1/.rvm/gems/ruby-1.9.2-p180/gems/devise-1.4.2/app/views"
我在 application.html.erb 中有这个:
<%= render :partial => "rightsidediv" %>
_rightsideive.html.erb 位于 /views/posts/
ActionView::MissingTemplate in Devise/sessions#new
Showing /app/views/layouts/application.html.erb where line #36 raised:
Missing partial devise/sessions/rightsidediv with {:handlers=>[:erb, :rjs, :builder, :rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]} in view paths "/app/views", "/home/user1/.rvm/gems/ruby-1.9.2-p180/gems/devise-1.4.2/app/views"
I have this in application.html.erb :
<%= render :partial => "rightsidediv" %>
The _rightsidedive.html.erb is in /views/posts/
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
将路径添加到您的包含:
add the path to your include: