Files
dry_beans/app/controllers/entregas_controller.rb

7 lines
175 B
Ruby
Raw Normal View History

2024-09-11 23:14:26 -03:00
class EntregasController < ApplicationController
def add
@entrega = Entrega.find_by(viaje: params[:viaje], nombre_recibe: params[:recibe])
@entrega.update
end
end