Sha256: 150744f3258b358d1837b76bc2c5ecc6207392ee7c80fe90855599eabe332104

Contents?: true

Size: 701 Bytes

Versions: 10

Compression:

Stored size: 701 Bytes

Contents

# frozen_string_literal: true

# generado con pg_rails

module Admin
  class UserAccountsController < AdminController
    before_action { @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

10 entries across 10 versions & 1 rubygems

Version Path
pg_rails-7.0.8.pre.alpha.13 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.0.8.pre.alpha.12 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.0.8.pre.alpha.11 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.0.8.pre.alpha.10 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.0.8.pre.alpha.9 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.0.8.pre.alpha.8 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.0.8.pre.alpha.7 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.0.8.pre.alpha.6 pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.0.8.pre.alpha pg_engine/app/controllers/admin/user_accounts_controller.rb
pg_rails-7.0.7 pg_engine/app/controllers/admin/user_accounts_controller.rb