Sha256: cc9bfba00710451e71d2edef4ca878aac7255bcc80cce4f897e43d0eaf1965e2
Contents?: true
Size: 652 Bytes
Versions: 9
Compression:
Stored size: 652 Bytes
Contents
# frozen_string_literal: true # generado con pg_rails module Admin class AccountsController < AdminController include PgEngine::Resource self.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
9 entries across 9 versions & 1 rubygems