Sha256: 46cf6eb37cd1fa31ff0025890d62e334f0de589c15e4ba2ff581be2198bcb964
Contents?: true
Size: 426 Bytes
Versions: 2
Compression:
Stored size: 426 Bytes
Contents
require 'configatron' if File.exists?('config/triplify.yml') #loading helpers and controllers %w{ models controllers helpers}.each do |dir| path = File.join(File.dirname(__FILE__), 'app', dir) $LOAD_PATH << path ActiveSupport::Dependencies.load_paths << path ActiveSupport::Dependencies.load_once_paths.delete(path) end # load settings configatron.configure_from_yaml('config/triplify.yml') end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rtriplify-0.0.2 | lib/rtriplify.rb |
rtriplify-0.0.1 | lib/rtriplify.rb |