Skip to content

Commit

Permalink
correctly pass every option to super if mobility is not responsible
Browse files Browse the repository at this point in the history
  • Loading branch information
doits authored and shioyama committed May 15, 2020
1 parent fd3deb9 commit 7b4ca04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mobility/plugins/fallthrough_accessors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ def initialize(*attributes)
locale = "#{locale}-#{suffix.upcase}" if suffix
public_send("#{attribute}#{$4}", *arguments, **options, locale: locale.to_sym)
else
super(method_name, *arguments, &block)
super(method_name, *arguments, **options, &block)
end
end

Expand Down

0 comments on commit 7b4ca04

Please sign in to comment.