Fixed failing tests
This commit is contained in:
parent
0eecc21485
commit
a45cb68809
2 changed files with 6 additions and 7 deletions
|
@ -25,7 +25,7 @@ class Projects::MilestonesController < Projects::ApplicationController
|
|||
@milestones = @milestones.page(params[:page]).per(PER_PAGE)
|
||||
end
|
||||
format.json do
|
||||
render json: @milestones_all
|
||||
render json: @milestones
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
@ -110,7 +110,6 @@ module LabelsHelper
|
|||
end
|
||||
|
||||
def projects_labels_options
|
||||
labels =
|
||||
if @project
|
||||
@project.labels
|
||||
else
|
||||
|
|
Loading…
Reference in a new issue