Skip to content

Commit

Permalink
index generico
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara committed Nov 27, 2024
1 parent 01adc01 commit fe93569
Showing 1 changed file with 9 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,8 @@ def genclase
"M"
end

def index(c = nil)

def index_cor1440_gen(c = nil)
c = Cor1440Gen::ProyectosfinancierosController.disponibles(
params, current_ability, c
)
Expand All @@ -135,6 +136,12 @@ def index(c = nil)
super(c)
end


def index(c = nil)
index_cor1440_gen(c)
end


# API JSON, dado un conjunto de proyectosfinancieros
# responde con las actividadespf de sus marcos lógicos
def actividadespf
Expand Down Expand Up @@ -195,6 +202,7 @@ def objetivospf
end
end


def copia
if !params || !params[:proyectofinanciero_id]
render(inline: "Falta parámetro proyectofinanciero_id")
Expand Down

0 comments on commit fe93569

Please sign in to comment.