Sha256: 329a37f29e038903f5444c1713026c77691a4f621e8fb0acb8b7b3c58247940c

Contents?: true

Size: 666 Bytes

Versions: 97

Compression:

Stored size: 666 Bytes

Contents

# frozen_string_literal: true

# generado con pg_rails

module Admin
  class AccountsController < AdminController
    include PgEngine::Resource

    before_action { @clase_modelo = Account }

    before_action(only: :index) { authorize Account }

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

    add_breadcrumb Account.nombre_plural, :admin_accounts_path

    private

    def atributos_permitidos
      %i[plan nombre]
    end

    def atributos_para_buscar
      %i[plan nombre]
    end

    def atributos_para_listar
      %i[plan nombre]
    end

    def atributos_para_mostrar
      %i[plan nombre]
    end
  end
end

Version data entries

97 entries across 97 versions & 1 rubygems

Version Path
pg_rails-7.3.0 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.2.3 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.2.2 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.2.1 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.2.0 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.16 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.15 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.14 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.13 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.12 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.11 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.10 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.9 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.8 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.7 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.6 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.5 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.4 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.3 pg_engine/app/controllers/admin/accounts_controller.rb
pg_rails-7.1.2 pg_engine/app/controllers/admin/accounts_controller.rb