Sha256: 73fa5a673f1e87d096aed018de976eb5e5474d74e0686b702d100ba8ba8d8466

Contents?: true

Size: 284 Bytes

Versions: 2

Compression:

Stored size: 284 Bytes

Contents

  extend Mobility

  translates :name, <%= attributes.map{|a| ":#{a.name}, " if a.locale }.compact.join %><%= ':nav_name, ' if options.type == 'section' %><%= ':meta_description, :meta_title, ' if options.seo? %>locale_accessors: true, ransack: true

  validates_with LocaleValidator

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/adminos/locales/model.rb.erb
adminos-1.0.0.pre.rc.4 lib/generators/templates/adminos/locales/model.rb.erb