Rails tracker example: store more useful info (#318)

Sean Linsley committed Nov 09, 2017
commit b7ea0f612e24898227165a8adb28dca1848b54d6
Showing 1 changed file with 1 additions and 1 deletions
README.md +1 -1
@@ @@ -336,7 +336,7 @@ class ApplicationController < ActionController::Base
protected
def track_action
- ahoy.track "Viewed #{controller_name}##{action_name}"
+ ahoy.track "Viewed #{controller_path}##{action_name}", params: request.path_parameters
end
end
```