我的 Rails 应用程序由于某种原因没有加载
index.html.haml where line #4 raised:
undefined method `captures' for nil:NilClass
我的配置/路线:
postmarkdown :as => :blog
root :to => 'posts#index'
我的帖子/index.html.haml
= render 'feed_link'
%section#posts
- if collection.present?
= render collection, :summary => true
= paginate collection
- else
No posts found.
我正在使用这个宝石:https ://github.com/ennova/postmarkdown