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

Commit

Permalink
Rails 5 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
lennartbuit committed Jul 17, 2018
1 parent 0fe5669 commit 2c10d73
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 2c10d73

Please sign in to comment.