aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorPhilip Arndt <git@p.arndt.io>2015-05-14 10:24:35 +1200
committerPhilip Arndt <git@p.arndt.io>2015-05-14 10:24:35 +1200
commit4efb627e5b140c4e1dee252b12c1fea31b9a42aa (patch)
tree5eddb76c74573d93de0ae920b5a5dceb58137c21 /app
parentc84fc93f9fc36b324fc6b5dc8af26d6942b45478 (diff)
downloadrefinerycms-blog-4efb627e5b140c4e1dee252b12c1fea31b9a42aa.tar.gz
refinerycms-blog-4efb627e5b140c4e1dee252b12c1fea31b9a42aa.tar.bz2
refinerycms-blog-4efb627e5b140c4e1dee252b12c1fea31b9a42aa.zip
Tidied up implementation of delete_translation and specs
Diffstat (limited to 'app')
-rw-r--r--app/controllers/refinery/blog/admin/posts_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/refinery/blog/admin/posts_controller.rb b/app/controllers/refinery/blog/admin/posts_controller.rb
index 04690fe..61ac433 100644
--- a/app/controllers/refinery/blog/admin/posts_controller.rb
+++ b/app/controllers/refinery/blog/admin/posts_controller.rb
@@ -93,7 +93,7 @@ module Refinery
protected
def find_post
- @post = Refinery::Blog::Post.find(params[:id])
+ @post = Refinery::Blog::Post.friendly.find(params[:id])
end
def find_all_categories