gitlab-org--gitlab-foss/app/controllers/dashboard/labels_controller.rb
2017-05-05 22:47:32 +00:00

9 lines
263 B
Ruby

class Dashboard::LabelsController < Dashboard::ApplicationController
def index
labels = LabelsFinder.new(current_user).execute
respond_to do |format|
format.json { render json: LabelSerializer.new.represent_appearance(labels) }
end
end
end