summaryrefslogtreecommitdiff
path: root/app/services/base_service.rb
diff options
context:
space:
mode:
authorDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-15 16:13:52 -0200
committerDouglas Barbosa Alexandre <dbalexandre@gmail.com>2016-02-20 12:10:26 -0200
commit422a01fc853a93e8946c69dc2ad0ad1dea261653 (patch)
treebd50032c0cc5df5b2cb2a70f1202cbf4ad9c583d /app/services/base_service.rb
parent1e0053f2dca63fdba18811a2194a36f828d45486 (diff)
downloadgitlab-ce-422a01fc853a93e8946c69dc2ad0ad1dea261653.tar.gz
Create a pending task when an issue is assigned to someone
Diffstat (limited to 'app/services/base_service.rb')
-rw-r--r--app/services/base_service.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/services/base_service.rb b/app/services/base_service.rb
index b48ca67d4d2..c349997b9e4 100644
--- a/app/services/base_service.rb
+++ b/app/services/base_service.rb
@@ -23,6 +23,10 @@ class BaseService
EventCreateService.new
end
+ def task_service
+ TaskService.new
+ end
+
def log_info(message)
Gitlab::AppLogger.info message
end