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

Commit

Permalink
Merge pull request #37 from olleolleolle/patch-1
Browse files Browse the repository at this point in the history
Update context example in README to use Rails 5 API
  • Loading branch information
mikker authored Sep 21, 2016
2 parents 945d87f + b37d7b0 commit 01ef0cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 01ef0cf

Please sign in to comment.