resolve/refinerycms-blog — Issue #175: Error when going to blog post page - undefined method 'post_url'
Author: tsemana
Created: 2012-01-17 23:43:32+00:00
State: open

This error occurs when a a link is clicked to see the individual blog page:

## NoMethodError in Refinery/blog/posts#show

```
Showing /Users/Tony/.rvm/gems/ruby-1.9.2-p290@semanteks/bundler/gems/refinerycms-blog-b1e4fd00943a/app/views/refinery/blog/posts/_nav.html.erb where line #4 raised:

undefined method `post_url' for #

Extracted source (around line #4):

1:

2: <% if @post.next.present? -%>
3: <%= link_to (truncate(@post.next.title) + " »").html_safe,
4: main_app.url_for(@post.next),
5: :class => 'next' %>
6: <% end -%>
7:

Trace of template inclusion: /Users/Tony/.rvm/gems/ruby-1.9.2-p290@semanteks/bundler/gems/refinerycms-blog-b1e4fd00943a/app/views/refinery/blog/posts/_post.html.erb, /Users/Tony/.rvm/gems/ruby-1.9.2-p290@semanteks/bundler/gems/refinerycms-blog-b1e4fd00943a/app/views/refinery/blog/posts/show.html.erb
```