BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
cbd81b01
Commit
cbd81b01
authored
Aug 18, 2017
by
Mehdi Lahmam
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused `IssuesHelper#bulk_update_milestone_options`
Its last usage has been removed at
2e3c082f
.
parent
99bb3dde
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
7 deletions
+0
-7
issues_helper.rb
app/helpers/issues_helper.rb
+0
-7
No files found.
app/helpers/issues_helper.rb
View file @
cbd81b01
...
@@ -47,13 +47,6 @@ module IssuesHelper
...
@@ -47,13 +47,6 @@ module IssuesHelper
end
end
end
end
def
bulk_update_milestone_options
milestones
=
@project
.
milestones
.
active
.
reorder
(
due_date: :asc
,
title: :asc
).
to_a
milestones
.
unshift
(
Milestone
::
None
)
options_from_collection_for_select
(
milestones
,
'id'
,
'title'
,
params
[
:milestone_id
])
end
def
milestone_options
(
object
)
def
milestone_options
(
object
)
milestones
=
object
.
project
.
milestones
.
active
.
reorder
(
due_date: :asc
,
title: :asc
).
to_a
milestones
=
object
.
project
.
milestones
.
active
.
reorder
(
due_date: :asc
,
title: :asc
).
to_a
milestones
.
unshift
(
object
.
milestone
)
if
object
.
milestone
.
present?
&&
object
.
milestone
.
closed?
milestones
.
unshift
(
object
.
milestone
)
if
object
.
milestone
.
present?
&&
object
.
milestone
.
closed?
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment