lib/sn_foil/controller/api.rb in snfoil-rails-0.8.5 vs lib/sn_foil/controller/api.rb in snfoil-rails-0.9.0
- old
+ new
@@ -25,10 +25,10 @@
def deserializer(**options)
options[:deserializer] || self.class.i_deserializer
end
def setup_options(**options)
- inject_deserialized_params(super)
+ inject_deserialized_params(**super)
end
def setup_create(**options)
options[:deserialize] = options[:deserialize].nil? ? true : options[:deserialize]
super(**options)