diff options
author | Felipe Artur <felipefac@gmail.com> | 2017-08-28 18:56:49 -0300 |
---|---|---|
committer | Felipe Artur <felipefac@gmail.com> | 2017-08-28 18:56:49 -0300 |
commit | f2a43ff5b7eec188ffc470649bf40d268cbdce2a (patch) | |
tree | f9a59f5d83d883c482c9ebfe811580a0fc8f6be6 /app/services/boards/base_service.rb | |
parent | 5f88660a3f5d9f0de0109a3da46e81ea9024c677 (diff) | |
download | gitlab-ce-f2a43ff5b7eec188ffc470649bf40d268cbdce2a.tar.gz |
Group boards CE backport
Diffstat (limited to 'app/services/boards/base_service.rb')
-rw-r--r-- | app/services/boards/base_service.rb | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/app/services/boards/base_service.rb b/app/services/boards/base_service.rb new file mode 100644 index 00000000000..72822ffffa1 --- /dev/null +++ b/app/services/boards/base_service.rb @@ -0,0 +1,10 @@ +module Boards + class BaseService < ::BaseService + # Parent can either a group or a project + attr_accessor :parent, :current_user, :params + + def initialize(parent, user, params = {}) + @parent, @current_user, @params = parent, user, params.dup + end + end +end |