Sha256: 3c4df6dea6935491fe8a7707b5a640c009358d2c56a1fe6dba76b298d7f8180d
Contents?: true
Size: 850 Bytes
Versions: 3
Compression:
Stored size: 850 Bytes
Contents
module Msip module Concerns module Controllers module TdocumentosController extend ActiveSupport::Concern included do include ActionView::Helpers::AssetUrlHelper def clase "Msip::Tdocumento" end def set_tdocumento @basica = Tdocumento.find(params[:id]) end def genclase return 'M'; end def atributos_index [ :id, :nombre, :sigla, :formatoregex, :observaciones, :fechacreacion_localizada, :habilitado ] end def tdocumento_params params.require(:tdocumento).permit( *(atributos_form)) end end end end end end
Version data entries
3 entries across 3 versions & 1 rubygems