Skip to content

Commit

Permalink
Merge pull request #10 from avalonmediasystem/rails5
Browse files Browse the repository at this point in the history
Use before_action for Rails 5.1+
  • Loading branch information
cjcolvar authored May 14, 2019
2 parents 77f26a3 + e1807bc commit 1c188a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/avalon/workflow/workflow_controller_behavior.rb
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ module Avalon::Workflow::WorkflowControllerBehavior
extend ActiveSupport::Concern

included do
before_filter :update_active_step, only: [:edit, :update]
before_action :update_active_step, only: [:edit, :update]
end

def update_active_step
Expand Down

0 comments on commit 1c188a2

Please sign in to comment.