Crear las raspberries ad-hoc

This commit is contained in:
f 2021-12-06 20:03:04 -03:00
parent 4c1eac1f2b
commit 55519925ce

View file

@ -38,7 +38,7 @@ class ApiController < ActionController::API
end end
def raspberry def raspberry
@raspberry ||= Raspberry.find params[:controller_id] @raspberry ||= Raspberry.find_or_create_by! params[:controller_id]
end end
# Procesa la transacción # Procesa la transacción