Sha256: efce72fccabffe148d7bd34784a0a27d6fa980a750df388232c45ef281d0407e
Contents?: true
Size: 688 Bytes
Versions: 4
Compression:
Stored size: 688 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] private def atributos_permitidos [ :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
4 entries across 4 versions & 1 rubygems