keep track of the user who revised a post

This commit is contained in:
Régis Hanol
2013-11-06 11:43:40 +01:00
parent 3992aa971d
commit f8e2ecfa94
2 changed files with 6 additions and 0 deletions
+1
View File
@@ -12,6 +12,7 @@ class PostRevisor
return false if not should_revise?
@post.acting_user = @user
@post.updated_by = @user
revise_post
update_category_description
post_process_post