Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
Staccato gem added
Browse files Browse the repository at this point in the history
  • Loading branch information
kierk committed Jun 18, 2019
1 parent 7f8ef02 commit fd2f241
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ gem 'omniauth'
gem 'omniauth_openid_connect'
gem 'paper_trail'
gem 'rolify'
gem 'staccato'

# Gems to support MMG spreadsheet import
gem 'roo'
Expand Down
2 changes: 2 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -441,6 +441,7 @@ GEM
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
staccato (0.5.1)
swd (1.1.2)
activesupport (>= 3)
attr_required (>= 0.0.5)
Expand Down Expand Up @@ -547,6 +548,7 @@ DEPENDENCIES
scss_lint
selenium-webdriver
simplecov
staccato
tzinfo-data
web-console
webpacker
Expand Down
1 change: 1 addition & 0 deletions app/controllers/api/response_sets_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ def index
end

def show
@@tracker.pageview(path: "/api/valueSets/#{params[:id]}", hostname: Settings.default_url_helper_host, title: 'API Response Set Show')
@value_set = ResponseSet.by_id_and_version(params[:id].upcase, params[:version])
if @value_set.nil?
not_found
Expand Down
1 change: 1 addition & 0 deletions config/initializers/staccato.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@@tracker = Staccato.tracker('UA-130404032-1')

0 comments on commit fd2f241

Please sign in to comment.