From b37d7b05c4357ca8e0eafa226821a5de7adb2ecb Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Wed, 21 Sep 2016 15:33:47 +0200 Subject: [PATCH] README: before_action is current Rails [ci skip] --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d65dc08..981731e 100644 --- a/README.md +++ b/README.md @@ -97,7 +97,7 @@ You may specify extra context for errors ahead of time by using `Opbeat.set_cont ```ruby class DashboardController < ApplicationController - before_filter do + before_action do Opbeat.set_context(timezone: current_user.timezone) end end