Sha256: 851a90c0b5aead77a2c9d57242d222922ecaec5de0dd071ebd344b72231afc96

Contents?: true

Size: 504 Bytes

Versions: 3

Compression:

Stored size: 504 Bytes

Contents

module Msip
  module Concerns
    module Controllers
      module OficinasController

        extend ActiveSupport::Concern

        included do
          include ActionView::Helpers::AssetUrlHelper

          def clase 
            "Msip::Oficina"
          end

          def set_oficina
            @basica = Oficina.find(params[:id])
          end

          def oficina_params
            params.require(:oficina).permit(*atributos_form)
          end

        end # do

      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
msip-2.2.0.alfa3 lib/msip/concerns/controllers/oficinas_controller.rb
msip-2.2.0.alfa2 lib/msip/concerns/controllers/oficinas_controller.rb
msip-2.2a2 lib/msip/concerns/controllers/oficinas_controller.rb