aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery
diff options
context:
space:
mode:
authorJohn Agan <johnagan@gmail.com>2012-07-31 00:07:49 -0400
committerPhilip Arndt <parndt@gmail.com>2012-09-05 12:54:09 +1200
commit6cc795274d9d1de415951dd6d8e1c0d1c99e237c (patch)
tree73bacac23df00f68bbf2516339121cd7ec9579f3 /app/controllers/refinery
parentb81af5b599d3535ffded519588a055a52fb80193 (diff)
downloadrefinerycms-blog-6cc795274d9d1de415951dd6d8e1c0d1c99e237c.tar.gz
refinerycms-blog-6cc795274d9d1de415951dd6d8e1c0d1c99e237c.tar.bz2
refinerycms-blog-6cc795274d9d1de415951dd6d8e1c0d1c99e237c.zip
Added the ability to use a different url than "/blog"
Diffstat (limited to 'app/controllers/refinery')
-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 54a8b03..6327199 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("/blog")
+ @page = Refinery::Page.find_by_link_url(Refinery::Blog.page_url)
end
end
end