diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-15 14:51:40 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-15 14:51:40 +0100 |
commit | efc9408fbf2a0524ca249842a429792dc7019810 (patch) | |
tree | bd6d267459e79ec514db27675badb673c552e5ae /app/helpers | |
parent | 14387b49a56bf31e7d250611cf2b40b2a8928c08 (diff) | |
download | gitlab-ce-efc9408fbf2a0524ca249842a429792dc7019810.tar.gz |
Added description template selector
[ci skip]
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/issuables_helper.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb index 9290e4ec133..8358fd43e72 100644 --- a/app/helpers/issuables_helper.rb +++ b/app/helpers/issuables_helper.rb @@ -199,6 +199,12 @@ module IssuablesHelper issuable_filter_params.any? { |k| params.key?(k) } end + def issuable_initial_data(issuable) + { + templates: issuable_templates(issuable) + }.to_json + end + private def sidebar_gutter_collapsed? |