aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery/blog/blog_controller.rb
diff options
context:
space:
mode:
authorPhilip Arndt <p@arndt.io>2014-02-02 22:31:09 -0800
committerPhilip Arndt <p@arndt.io>2014-02-02 22:31:09 -0800
commita6ec37c7f54660d34a6b6f1496fea9f825543cc7 (patch)
tree57286eb5a09e4742c2400619b76cf507771d3d7e /app/controllers/refinery/blog/blog_controller.rb
parentd891009d8b26cbccfc7fcdec645e1e2382c641bc (diff)
parent320275b324a8c0cb3e46a10ea43b1391ee86c874 (diff)
downloadrefinerycms-blog-a6ec37c7f54660d34a6b6f1496fea9f825543cc7.tar.gz
refinerycms-blog-a6ec37c7f54660d34a6b6f1496fea9f825543cc7.tar.bz2
refinerycms-blog-a6ec37c7f54660d34a6b6f1496fea9f825543cc7.zip
Merge pull request #368 from refinery/rails4
Rails 4 support.
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