diff options
author | Philip Arndt <p@arndt.io> | 2014-02-02 22:31:09 -0800 |
---|---|---|
committer | Philip Arndt <p@arndt.io> | 2014-02-02 22:31:09 -0800 |
commit | a6ec37c7f54660d34a6b6f1496fea9f825543cc7 (patch) | |
tree | 57286eb5a09e4742c2400619b76cf507771d3d7e /app/controllers/refinery/blog/blog_controller.rb | |
parent | d891009d8b26cbccfc7fcdec645e1e2382c641bc (diff) | |
parent | 320275b324a8c0cb3e46a10ea43b1391ee86c874 (diff) | |
download | refinerycms-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.rb | 2 |
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 |