aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorJamie Winsor <jamie@vialstudios.com>2011-09-14 16:28:42 -0700
committerJamie Winsor <jamie@vialstudios.com>2011-09-14 16:28:42 -0700
commit76be452faf5d36cc749d18bf30a4f0e7d0394064 (patch)
treeb315a0cb76ae4029618c1028807be604ab983821 /app
parentcc3be37a41d9c3d97df1ef6649f7ed6f7a3766c0 (diff)
parent65cb81b4c0ba29bf95b878c0d669b2dfd5b75fa7 (diff)
downloadrefinerycms-blog-76be452faf5d36cc749d18bf30a4f0e7d0394064.tar.gz
refinerycms-blog-76be452faf5d36cc749d18bf30a4f0e7d0394064.tar.bz2
refinerycms-blog-76be452faf5d36cc749d18bf30a4f0e7d0394064.zip
Merge pull request #135 from enmasse-entertainment/fix-devise-user
Change current_user to current_refinery_user
Diffstat (limited to 'app')
-rw-r--r--app/controllers/refinery/admin/blog/posts_controller.rb2
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