diff options
author | Phil Hughes <me@iamphill.com> | 2017-09-05 11:21:36 +0300 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-09-05 11:21:36 +0300 |
commit | 365adcf6a3bd684abfa9aac3b47e53c1eb41bac6 (patch) | |
tree | 7787c1190dc1393a5b91c5e882e77a6df26f2b2d /app/helpers/issuables_helper.rb | |
parent | 78b0c35ce71b2e6083d655c47977766bf56fbe72 (diff) | |
parent | d4ec63186b106bbee4bde890b7c30b14a7748339 (diff) |
Merge branch 'master' into breadcrumbs-improvements
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 a6282187d34..ef9cdd058a9 100644 --- a/app/helpers/issuables_helper.rb +++ b/app/helpers/issuables_helper.rb @@ -305,14 +305,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 |