diff options
author | Jamie Winsor <jamie@enmasse.com> | 2011-09-14 16:25:50 -0700 |
---|---|---|
committer | Jamie Winsor <jamie@enmasse.com> | 2011-09-14 16:25:50 -0700 |
commit | 65cb81b4c0ba29bf95b878c0d669b2dfd5b75fa7 (patch) | |
tree | b315a0cb76ae4029618c1028807be604ab983821 | |
parent | cc3be37a41d9c3d97df1ef6649f7ed6f7a3766c0 (diff) | |
download | refinerycms-blog-65cb81b4c0ba29bf95b878c0d669b2dfd5b75fa7.tar.gz refinerycms-blog-65cb81b4c0ba29bf95b878c0d669b2dfd5b75fa7.tar.bz2 refinerycms-blog-65cb81b4c0ba29bf95b878c0d669b2dfd5b75fa7.zip |
Change current_user to current_refinery_user
Fixes for https://github.com/resolve/refinerycms/commit/8294a86c13943fcd9bb966341ecfa250ae4aeaf0
-rw-r--r-- | app/controllers/refinery/admin/blog/posts_controller.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/refinery/admin/blog/posts_controller.rb b/app/controllers/refinery/admin/blog/posts_controller.rb index 0fb49ee..62b6949 100644 --- a/app/controllers/refinery/admin/blog/posts_controller.rb +++ b/app/controllers/refinery/admin/blog/posts_controller.rb @@ -47,7 +47,7 @@ module Refinery if Refinery::BlogPost.column_names.include?("user_id") params[:blog_post].merge!({ - :user_id => current_user.id + :user_id => current_refinery_user.id }) end |