Track Article IDs for Controller Requests (#8038)
This commit is contained in:
parent
6a0b675974
commit
61cda701c5
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue