Sha256: 762d17e6eab73bed9b3405279e84063f89f755bdc6eb95b531fae0bc5e3e984d
Contents?: true
Size: 378 Bytes
Versions: 2
Compression:
Stored size: 378 Bytes
Contents
include LatoCore::Interface # Set default languages CORE_LANG = core_loadModuleLanguages('lato_core') # Create first user if not exist if ActiveRecord::Base.connection.table_exists? 'lato_core_superusers' LatoCore::Superuser.create(name: 'Admin', username: 'lato', email: 'lato@mail.com', permission: 10, password: 'password', password_confirmation: 'password') end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lato_core-1.1.4 | config/initializers/init.rb |
lato_core-1.1.3 | config/initializers/init.rb |