Skip to content
This repository has been archived by the owner on Dec 21, 2022. It is now read-only.

Commit

Permalink
Merge pull request #1 from lennartbuit/rails5
Browse files Browse the repository at this point in the history
Rails 5 compatibility
  • Loading branch information
lennartbuit authored Sep 18, 2018
2 parents 0fe5669 + 2c10d73 commit 70057c4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/samsara/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module Samsara::Controller
extend ActiveSupport::Concern

included do
before_filter :set_samsara_context
after_filter :unset_samsara_context
before_action :set_samsara_context
after_action :unset_samsara_context
end

def set_samsara_context
Expand Down

0 comments on commit 70057c4

Please sign in to comment.