Skip to content

Commit

Permalink
Merge e262882 into a27fb52
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisokamoto committed Jul 1, 2019
2 parents a27fb52 + e262882 commit 3a18f5f
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions lib/re_track/sweeper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module Sweeper
mattr_accessor :rt_model_instance_names

included do
after_filter :rt_after_filter, only: :create
after_action :rt_after_action, only: :create
end

module ClassMethods
Expand All @@ -20,7 +20,7 @@ def rt_record_instance_names

private

def rt_after_filter
def rt_after_action
rt_records.each { |record| rt_after_create record }
true
end
Expand Down
2 changes: 1 addition & 1 deletion lib/re_track/tracker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ module Tracker
extend ActiveSupport::Concern

included do
before_filter :rt_track_referer
before_action :rt_track_referer
end

private
Expand Down
2 changes: 1 addition & 1 deletion lib/re_track/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ReTrack
VERSION = '0.7.4'
VERSION = '0.7.5'
end
2 changes: 1 addition & 1 deletion spec/dummy/app/controllers/users_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ class UsersController < ApplicationController
re_track :user

respond_to :html
before_filter :get_user, only: [:show, :edit, :update, :destroy]
before_action :get_user, only: [:show, :edit, :update, :destroy]

def index
@users = User.all
Expand Down

0 comments on commit 3a18f5f

Please sign in to comment.