Sha256: 539f64ebbbe36598291b422b0f494ee5eeb2aa7a28e3d8ab1e4c14b1aa1d34c4
Contents?: true
Size: 708 Bytes
Versions: 17
Compression:
Stored size: 708 Bytes
Contents
module Padrino module Generators module Components module Renderers module HamlGen SASS_INIT = (<<-SASS).gsub(/^ {10}/, '') # Enables support for SASS template reloading for rack. # See http://nex-3.com/posts/88-sass-supports-rack for more details. module SassInitializer def self.registered(app) require 'sass/plugin/rack' app.use Sass::Plugin::Rack end end SASS def setup_renderer require_dependencies 'haml' create_file destination_root('/config/initializers/sass.rb'), SASS_INIT end end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems