Sha256: 4e702931a14488ca067f7232dbb94d5f31874bff7f0e0b330ce726998eeaafe2

Contents?: true

Size: 620 Bytes

Versions: 26

Compression:

Stored size: 620 Bytes

Contents

# frozen_string_literal: true

# generado con pg_rails

module Admin
  class AccountsController < AdminController
    include PgEngine::Resource

    self.clase_modelo = Account

    before_action(only: :index) { authorize Account }

    before_action :set_instancia_modelo, only: %i[new create show edit update destroy]

    private

    def atributos_permitidos
      %i[plan nombre domain subdomain]
    end

    def atributos_para_buscar
      atributos_permitidos
    end

    def atributos_para_listar
      atributos_permitidos
    end

    def atributos_para_mostrar
      atributos_permitidos
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
pg_rails-7.6.17 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.16 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.15 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.14 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.13 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.12 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.11 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.10 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.9 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.8 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.7 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.6 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.5 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.4 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.3 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.2 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.1 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.6.0 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.5.7 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.5.6 pg_engine/app/controllers/admin/accounts_controller.rb