aboutsummaryrefslogtreecommitdiffstats
path: root/app/controllers/refinery
diff options
context:
space:
mode:
authorJérémy FRERE <frere.jeremy@gmail.com>2015-04-01 16:45:28 +0200
committerPhilip Arndt <git@p.arndt.io>2015-05-14 09:54:15 +1200
commitc84fc93f9fc36b324fc6b5dc8af26d6942b45478 (patch)
tree945c96029afe7927396b4b7545952bf34ec1071c /app/controllers/refinery
parent95db4b6299c026a67ad61067b83882b862678be6 (diff)
downloadrefinerycms-blog-c84fc93f9fc36b324fc6b5dc8af26d6942b45478.tar.gz
refinerycms-blog-c84fc93f9fc36b324fc6b5dc8af26d6942b45478.tar.bz2
refinerycms-blog-c84fc93f9fc36b324fc6b5dc8af26d6942b45478.zip
Corrige un bug empêchant la mise à jour des Post en espagnol, parfois
Diffstat (limited to 'app/controllers/refinery')
-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 4eeffd0..04690fe 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_by_slug_or_id(params[:id])
+ @post = Refinery::Blog::Post.find(params[:id])
end
def find_all_categories