Track Article IDs for Controller Requests (#8038)

This commit is contained in:
Molly Struve 2020-05-25 10:59:34 -05:00 committed by GitHub
parent 6a0b675974
commit 61cda701c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -201,6 +201,7 @@ class ArticlesController < ApplicationController
Article.includes(:user).find(params[:id])
end
@article = found_article || not_found
Honeycomb.add_field("article_id", @article.id)
end
def article_params