Add reuasable Gitlab::Tracking::Helpers module
There are several controllers/concerns/modules that checks for the DNT header and the logic are the same. To make them DRY, a new Gitlab::Tracking::Helpers module was added to encapsulate the following methods: - `dnt_enabled?` - `trackable_html_request?`
Showing
Please register or sign in to comment