Sha256: 5f0d4bebd745043155a57a1315ed3e8188d7f805d7ae15302cb7fe5834be9982

Contents?: true

Size: 679 Bytes

Versions: 14

Compression:

Stored size: 679 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'

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
rbbt-util-5.17.9 etc/app.d/resources.rb
rbbt-util-5.17.7 etc/app.d/resources.rb
rbbt-util-5.17.6 etc/app.d/resources.rb
rbbt-util-5.17.5 etc/app.d/resources.rb
rbbt-util-5.17.4 etc/app.d/resources.rb
rbbt-util-5.17.3 etc/app.d/resources.rb
rbbt-util-5.17.2 etc/app.d/resources.rb
rbbt-util-5.17.1 etc/app.d/resources.rb
rbbt-util-5.17.0 etc/app.d/resources.rb
rbbt-util-5.16.3 etc/app.d/resources.rb
rbbt-util-5.16.2 etc/app.d/resources.rb
rbbt-util-5.16.1 etc/app.d/resources.rb
rbbt-util-5.16.0 etc/app.d/resources.rb
rbbt-util-5.15.3 etc/app.d/resources.rb