aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog/blog_controller.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/controllers/refinery/blog/blog_controller.rb')
-rw-r--r--app/controllers/refinery/blog/blog_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/refinery/blog/blog_controller.rb b/app/controllers/refinery/blog/blog_controller.rb
index 6327199..0c50c95 100644
--- a/app/controllers/refinery/blog/blog_controller.rb
+++ b/app/controllers/refinery/blog/blog_controller.rb
@@ -10,7 +10,7 @@ module Refinery
protected
def find_page
- @page = Refinery::Page.find_by_link_url(Refinery::Blog.page_url)
+ @page = Refinery::Page.find_by(:link_url => Refinery::Blog.page_url)
end
end
end