2016-06-02 11:05:42 +05:30
|
|
|
class Dashboard::LabelsController < Dashboard::ApplicationController
|
|
|
|
def index
|
2016-11-03 12:29:30 +05:30
|
|
|
labels = LabelsFinder.new(current_user).execute
|
2016-06-02 11:05:42 +05:30
|
|
|
|
|
|
|
respond_to do |format|
|
2017-08-17 22:00:37 +05:30
|
|
|
format.json { render json: LabelSerializer.new.represent_appearance(labels) }
|
2016-06-02 11:05:42 +05:30
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|