gitlab-org--gitlab-foss/app/controllers/ide_controller.rb
Francisco Javier López 01685eed76 Added Usage Data for some Web IDE actions
The actions tracked in the web IDE are:
- creation of commits
- creation of merge requests
- projects loaded
2019-07-19 11:11:27 +00:00

9 lines
187 B
Ruby

# frozen_string_literal: true
class IdeController < ApplicationController
layout 'fullscreen'
def index
Gitlab::UsageDataCounters::WebIdeCounter.increment_views_count
end
end