Class: ScrollsRails::MetricsController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/scrolls_rails/metrics_controller.rb

Instance Method Summary collapse

Instance Method Details

#logObject



3
4
5
6
# File 'app/controllers/scrolls_rails/metrics_controller.rb', line 3

def log
  Scrolls.log params[:measurement]
  render text: "success"
end