Sha256: b9a18e3745ab5eb6c7e2c40d9aaf73b3629ee0ada6a2bae73f1fc7fdbd8cdc26
Contents?: true
Size: 1.04 KB
Versions: 3
Compression:
Stored size: 1.04 KB
Contents
module Msip module Concerns module Controllers module SolicitudesController extend ActiveSupport::Concern included do def clase "Msip::Solicitud" end def set_solicitud @basica = Msip::Solicitud.find(params[:id]) end def atributos_index [ :id, :usuario_id, :fecha, :solicitud, :estadosol_id, :usuarionotificar_ids ] end def atributos_form [ :id, :usuario_id, :fecha, :solicitud, :estadosol_id, :usuarionotificar_ids ] end def genclase 'F' end def params_lista atributos_form end def solicitud_params params.require(:solicitud).permit(params_lista) end end #included end end end end
Version data entries
3 entries across 3 versions & 1 rubygems