app/builders/blacklight/action_builder.rb in blacklight-7.0.0.rc1 vs app/builders/blacklight/action_builder.rb in blacklight-7.0.0.rc2
- old
+ new
@@ -14,9 +14,10 @@
# Define a simple action handler for the tool as long as the method
# doesn't already exist or the `:define_method` option is not `false`
def build
return if skip?
+
callback = opts.fetch(:callback, nil).inspect
validator = opts.fetch(:validator, nil).inspect
klass.class_eval <<EORUBY, __FILE__, __LINE__ + 1
def #{name}
@response, @documents = action_documents