Skip to content
Snippets Groups Projects
Commit 39b313ba authored by Mehdi Lahmam's avatar Mehdi Lahmam
Browse files

Removed unused `IssuablesHelper#issuable_state_scope`

Its last usage has been removed at 260c8da0.
parent fd511639
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -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
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment