Skip to content

Commit 1c188a2

Browse files
authored
Merge pull request #10 from avalonmediasystem/rails5
Use before_action for Rails 5.1+
2 parents 77f26a3 + e1807bc commit 1c188a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/avalon/workflow/workflow_controller_behavior.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ module Avalon::Workflow::WorkflowControllerBehavior
1717
extend ActiveSupport::Concern
1818

1919
included do
20-
before_filter :update_active_step, only: [:edit, :update]
20+
before_action :update_active_step, only: [:edit, :update]
2121
end
2222

2323
def update_active_step

0 commit comments

Comments
 (0)