Skip to content

Commit

Permalink
replace before_filter to before_action
Browse files Browse the repository at this point in the history
  • Loading branch information
Ildar Gumirov committed Aug 6, 2020
1 parent 939f3a0 commit 126b43c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/art_deco/behaviour.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module ArtDeco
module Behaviour
def self.included(base)
base.before_filter do |controller|
base.before_action do |controller|
ArtDeco::ViewContext.current = controller.view_context
end
end
Expand Down
2 changes: 1 addition & 1 deletion lib/art_deco/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module ArtDeco
VERSION = "0.0.3"
VERSION = "0.0.4"
end

0 comments on commit 126b43c

Please sign in to comment.