Sha256: 8a0d2c2581ccaa194787999f9f4e44a72297de6e01dbbdf4c5e37940cd412b9c
Contents?: true
Size: 624 Bytes
Versions: 9
Compression:
Stored size: 624 Bytes
Contents
SASS_INIT = <<-SASS unless defined?(SASS_INIT) # Enables support for SASS template reloading in rack applications. # See http://nex-3.com/posts/88-sass-supports-rack for more details. # Store SASS files (by default) within 'app/stylesheets' require 'sass/plugin/rack' Sass::Plugin.options[:template_location] = Padrino.root("app/stylesheets") Sass::Plugin.options[:css_location] = Padrino.root("public/stylesheets") app.use Sass::Plugin::Rack SASS def setup_stylesheet require_dependencies 'sass' initializer :sass, SASS_INIT.chomp empty_directory destination_root('/app/stylesheets') end
Version data entries
9 entries across 9 versions & 1 rubygems