Sha256: d2de3e9cf0504a7e96a78dedd9eed114d5e400c75fd7cfdb8b4e932556ab68c0
Contents?: true
Size: 322 Bytes
Versions: 67
Compression:
Stored size: 322 Bytes
Contents
# load all custom initializers of plugins or themes PluginRoutes.all_apps.each do |ap| if ap["path"].present? f = File.join(ap["path"], "config", "initializer.rb") eval(File.read(f)) if File.exist?(f) f = File.join(ap["path"], "config", "custom_models.rb") eval(File.read(f)) if File.exist?(f) end end
Version data entries
67 entries across 67 versions & 2 rubygems