Commit 39b313ba authored by Mehdi Lahmam's avatar Mehdi Lahmam

Removed unused `IssuablesHelper#issuable_state_scope`

Its last usage has been removed at 260c8da0.
parent fd511639
......@@ -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
......
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