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