BigW Consortium Gitlab

Commit 39b313ba by Mehdi Lahmam

Removed unused `IssuablesHelper#issuable_state_scope`

Its last usage has been removed at 260c8da0.
parent fd511639
...@@ -305,14 +305,6 @@ module IssuablesHelper ...@@ -305,14 +305,6 @@ module IssuablesHelper
cookies[:collapsed_gutter] == 'true' cookies[:collapsed_gutter] == 'true'
end 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) def issuable_templates(issuable)
@issuable_templates ||= @issuable_templates ||=
case issuable case issuable
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment