aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/blog
diff options
context:
space:
mode:
authorJoe Sak <joe@joesak.com>2010-11-20 11:31:52 -0600
committerJoe Sak <joe@joesak.com>2010-11-20 11:31:52 -0600
commitf99c2ccbc735ac52d922422063ae36045eb72f38 (patch)
treed53c3a828d4f7d32721364047e68627131ddb3b3 /app/controllers/blog
parent178d782743347993cfd13f5d15af6d391b11dafc (diff)
downloadrefinerycms-blog-f99c2ccbc735ac52d922422063ae36045eb72f38.tar.gz
refinerycms-blog-f99c2ccbc735ac52d922422063ae36045eb72f38.tar.bz2
refinerycms-blog-f99c2ccbc735ac52d922422063ae36045eb72f38.zip
Um... find_page was already there.
Diffstat (limited to 'app/controllers/blog')
-rw-r--r--app/controllers/blog/posts_controller.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/controllers/blog/posts_controller.rb b/app/controllers/blog/posts_controller.rb
index 071bc68..8c627fd 100644
--- a/app/controllers/blog/posts_controller.rb
+++ b/app/controllers/blog/posts_controller.rb
@@ -1,6 +1,5 @@
class Blog::PostsController < BlogController
- before_filter :find_page
before_filter :find_all_blog_posts, :except => [:archive]
before_filter :find_blog_post, :only => [:show, :comment]
@@ -64,9 +63,5 @@ protected
:per_page => RefinerySetting.find_or_set(:blog_posts_per_page, 10)
})
end
-
- def find_page
- @page = Page.find_by_link_url('/blog')
- end
end