Sha256: cec05420e6a3f86193c1d013af466bee18513339209277dc0b05b0a8bece470a
Contents?: true
Size: 662 Bytes
Versions: 8
Compression:
Stored size: 662 Bytes
Contents
# frozen_string_literal: true # generado con pg_rails module Admin class AccountsController < AdminController 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 hashid] end def atributos_para_buscar %i[plan nombre hashid] end def atributos_para_listar %i[plan nombre hashid] end def atributos_para_mostrar %i[plan nombre hashid] end end end
Version data entries
8 entries across 8 versions & 1 rubygems