Sha256: 4e652b7e0c66cb8987d508b78c202b320f1dc98460b273b880eec36838379c55
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
unless true #Console.config.disable_css # # Stylesheets are assumed to be generated into Rails tmp/stylesheets, # either dynamically in development, or by the RPM build in production # options = { :urls => ['/stylesheets'], :root => "#{Rails.root}/tmp" } Sass::Plugin.options[:css_location] = Rails.root.join("tmp", "stylesheets") Sass::Plugin.add_template_location(Console::Engine.root.join("app", "stylesheets")) Sass::Plugin.add_template_location(Rails.root.join("app", "stylesheets")) # # All production environments pregenerate CSS using the RPM build, development # environments use autogeneration. To trigger autogeneration you may need to # run 'rake assets:clean'. # if Rails.env.development? Rails.configuration.middleware.insert_after('Sass::Plugin::Rack', 'Rack::Static', options) Sass::Plugin.options[:style] = :expanded Sass::Plugin.options[:line_numbers] = true Sass::Plugin.options[:debug_info] = true else Sass::Plugin.options[:never_update] = true end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
openshift-origin-console-1.3.4 | config/initializers/sass.rb |
openshift-origin-console-1.3.3 | config/initializers/sass.rb |
openshift-origin-console-1.3.2 | config/initializers/sass.rb |