Sha256: 9cf88a82874581128469094da628f43169050b35f81d64f1257d0c2dc76160bd

Contents?: true

Size: 488 Bytes

Versions: 3

Compression:

Stored size: 488 Bytes

Contents

module Msip
  module Admin
    class TsitiosController < BasicasController
      before_action :set_tsitio, only: [:show, :edit, :update, :destroy]
      load_and_authorize_resource class: Msip::Tsitio

      def clase 
        "Msip::Tsitio"
      end

      def set_tsitio
        @basica = Tsitio.find(params[:id])
      end

      def genclase
        return 'M';
      end

      def tsitio_params
        params.require(:tsitio).permit(*atributos_form)
      end

    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
msip-2.2.0.alfa3 app/controllers/msip/admin/tsitios_controller.rb
msip-2.2.0.alfa2 app/controllers/msip/admin/tsitios_controller.rb
msip-2.2a2 app/controllers/msip/admin/tsitios_controller.rb