Sha256: abb56132c2dbf576682446e0f3a6d01b932b1bf6b00c53cf7a4390ece5eea6fd

Contents?: true

Size: 719 Bytes

Versions: 9

Compression:

Stored size: 719 Bytes

Contents

# frozen_string_literal: true

# generado con pg_rails

module Admin
  class UserAccountsController < AdminController
    include PgEngine::Resource

    self.clase_modelo = UserAccount

    before_action(only: :index) { authorize UserAccount }

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

    add_breadcrumb UserAccount.nombre_plural, :admin_user_accounts_path

    private

    def atributos_permitidos
      %i[user_id account_id profiles]
    end

    def atributos_para_buscar
      %i[user account profiles]
    end

    def atributos_para_listar
      %i[user account profiles]
    end

    def atributos_para_mostrar
      %i[user account profiles]
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
pg_rails-7.4.3 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.4.2 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.4.1 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.4.0 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.3.5 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.3.4 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.3.3 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.3.2 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.3.1 pg_engine/app/controllers/admin/user_accounts_controller.rb