ProjectResourceController
# File app/controllers/labels_controller.rb, line 9 def index @labels = @project.issues_labels.order('count DESC') end
# File app/controllers/labels_controller.rb, line 15 def module_enabled return render_404 unless @project.issues_enabled end