diff options
| author | mo k <mo@mokhan.ca> | 2012-09-27 20:52:04 -0600 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-09-27 20:52:04 -0600 |
| commit | 868cdfb3136d2eceabbd5cd1bb444bd5aa32b09a (patch) | |
| tree | 9e4c4af15ccd250e3c223525e17bc396874d6572 /app/services | |
| parent | 98db5dfbe7a8ae4d44c90e34e4ebef75f2d75efa (diff) | |
update the comments controller specs
Diffstat (limited to 'app/services')
| -rw-r--r-- | app/services/comment_on_creation_command.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/services/comment_on_creation_command.rb b/app/services/comment_on_creation_command.rb index 3217dcbd..4fc765b5 100644 --- a/app/services/comment_on_creation_command.rb +++ b/app/services/comment_on_creation_command.rb @@ -5,5 +5,6 @@ class CommentOnCreationCommand def run(params) comment = @current_user.comment_on(Creation.find(params[:creation_id]), params[:comment][:body]) comment.save + comment end end |
