añadir track_activity para mostrar futuras notificaciones a los usuarios

This commit is contained in:
Julian Herrero
2015-10-06 12:05:34 +02:00
committed by rgarcia
parent 5e9240e25c
commit ba0ce4e14b
6 changed files with 20 additions and 3 deletions

View File

@@ -9,6 +9,7 @@ class CommentsController < ApplicationController
def create
if @comment.save
CommentNotifier.new(comment: @comment).process
track_activity @comment
else
render :new
end