Sha256: 97cd1e575071e7b1b7bfcd038d07ed7bd89d547afd0d85ed44c7b2efcf5d034f

Contents?: true

Size: 673 Bytes

Versions: 1

Compression:

Stored size: 673 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"])) 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

1 entries across 1 versions & 1 rubygems

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