Skip to content

Commit d1591c7

Browse files
committed
Use instance variable directly
1 parent 9805f73 commit d1591c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/activeadmin_addons/support/input_helpers/input_methods.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def association_name
2323
end
2424

2525
def method_model
26-
options[:method_model] ||
26+
@options[:method_model] ||
2727
object_class.reflect_on_association(association_name).try(:klass) ||
2828
association_name.classify.constantize
2929
end

0 commit comments

Comments
 (0)