Sha256: 85ad904d5ebe7f959d09826f5afebd2bdade0b69f662173d29b1839f1ecbca65
Contents?: true
Size: 792 Bytes
Versions: 28
Compression:
Stored size: 792 Bytes
Contents
# frozen_string_literal: true # generado con pg_rails <% if false && namespaced? -%> require_dependency "<%= namespaced_path %>/application_controller" <% end -%> <% module_namespacing do -%> <% module_namespacing_2 do -%> class <%= controller_class_name.split('::').last %>Controller < <%= parent_controller %> include PgEngine::Resource self.clase_modelo = <%= class_name.split('::').last %> private def atributos_permitidos %i[<%= attributes_names.join(' ') %>] end def atributos_para_buscar %i[<%= atributos_a_filtrar.map(&:name).join(' ') %>] end def atributos_para_listar %i[<%= atributos_a_filtrar.map(&:name).join(' ') %>] end def atributos_para_mostrar %i[<%= atributos_a_filtrar.map(&:name).join(' ') %>] end end <% end -%> <% end -%>
Version data entries
28 entries across 28 versions & 1 rubygems