Controller de entregas
This commit is contained in:
6
app/controllers/entregas_controller.rb
Normal file
6
app/controllers/entregas_controller.rb
Normal file
@ -0,0 +1,6 @@
|
||||
class EntregasController < ApplicationController
|
||||
def add
|
||||
@entrega = Entrega.find_by(viaje: params[:viaje], nombre_recibe: params[:recibe])
|
||||
@entrega.update
|
||||
end
|
||||
end
|
Reference in New Issue
Block a user