Sha256: e865953be1685822b7890c1151cbc9b4d67a660a6477f0adb3287efd0f3bf6ad

Contents?: true

Size: 768 Bytes

Versions: 1

Compression:

Stored size: 768 Bytes

Contents

EntityRESTHelpers.entity_resources.unshift Rbbt.www.views.find if Rbbt.www.views.exists?
RbbtRESTHelpers.template_resources.unshift Rbbt.www.views.find if Rbbt.www.views.exists?
  
load Rbbt.etc['app.d']['grid_system.rb'].find if Rbbt.etc['app.d']['grid_system.rb'].exists?

#require 'sass-css-importer'

Sinatra::RbbtRESTMain.add_resource_path(Path.setup(ENV["RBBT_VIEWS_DIR"]), true) if ENV["RBBT_VIEWS_DIR"] and not ENV["RBBT_VIEWS_DIR"].empty?

Compass::Frameworks::ALL.each do |importer|
  next unless importer.respond_to? :path
  path = importer.stylesheets_directory
  RbbtRESTHelpers.add_sass_load_path path
end

RbbtRESTHelpers.add_sass_load_path './www/views/compass'

WorkflowRESTHelpers.workflow_resources.unshift(Path.setup(FileUtils.pwd.dup).www.views)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rbbt-util-5.20.24 etc/app.d/resources.rb