diff options
author | Rémy Coutable <remy@rymai.me> | 2017-09-04 14:10:44 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2017-09-04 14:10:44 +0300 |
commit | 970af9964ea9404942818d8c3394d2903955ed69 (patch) | |
tree | b98ea2d79e7a2703b6a68d3913b68aea833e8331 /app/helpers/issuables_helper.rb | |
parent | 4efdb451b59f550f7a86b39ff1328471233a9c38 (diff) | |
parent | 9d7971c19b54d0e984c2f38045345f46a7d9d47d (diff) |
Merge branch 'remove-unused-code-issueshelper' into 'master'
Remove unused methods from `IssuesHelper` and `IssuablesHelper`
See merge request !13793
Diffstat (limited to 'app/helpers/issuables_helper.rb')
-rw-r--r-- | app/helpers/issuables_helper.rb | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/app/helpers/issuables_helper.rb b/app/helpers/issuables_helper.rb index d81ba2c06eb..681615dbf3e 100644 --- a/app/helpers/issuables_helper.rb +++ b/app/helpers/issuables_helper.rb @@ -296,14 +296,6 @@ module IssuablesHelper cookies[:collapsed_gutter] == 'true' end - def issuable_state_scope(issuable) - if issuable.respond_to?(:merged?) && issuable.merged? - :merged - else - issuable.open? ? :opened : :closed - end - end - def issuable_templates(issuable) @issuable_templates ||= case issuable |