Top Level Namespace

Defined Under Namespace

Classes: AssetLibrary

Instance Method Summary collapse

Instance Method Details

#init_asset_libraryObject



1
2
3
4
5
6
7
# File 'lib/asset_library/rake_tasks.rb', line 1

def init_asset_library
  require 'asset_library'

  # TODO: Find a way to not-hard-code these paths?
  AssetLibrary.config_path = File.join(RAILS_ROOT, 'config', 'asset_library.yml')
  AssetLibrary.root = File.join(RAILS_ROOT, 'public')
end