Skip to content
This repository was archived by the owner on Jan 12, 2024. It is now read-only.

Commit 01ef0cf

Browse files
authored
Merge pull request #37 from olleolleolle/patch-1
Update context example in README to use Rails 5 API
2 parents 945d87f + b37d7b0 commit 01ef0cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ You may specify extra context for errors ahead of time by using `Opbeat.set_cont
9797

9898
```ruby
9999
class DashboardController < ApplicationController
100-
before_filter do
100+
before_action do
101101
Opbeat.set_context(timezone: current_user.timezone)
102102
end
103103
end

0 commit comments

Comments
 (0)