Sha256: 4803e9bc95e4c94250c49bcd77f477abac23810e8d67c24b22e41c7e5e6a4dab

Contents?: true

Size: 311 Bytes

Versions: 9

Compression:

Stored size: 311 Bytes

Contents

Rails.application.config.before_configuration do |app|
  # initialize styleus configuration
  app.config.styleus = Styleus::Engine::Configuration.new unless app.config.respond_to? :styleus

  # some defaults
  app.config.styleus.maximum_screen_size = 1680
  app.config.styleus.use_default_dimensions = true
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
styleus-0.0.12 config/initializers/01_styleus_config.rb
styleus-0.0.11 config/initializers/01_styleus_config.rb
styleus-0.0.10 config/initializers/01_styleus_config.rb
styleus-0.0.9 config/initializers/01_styleus_config.rb
styleus-0.0.8 config/initializers/01_styleus_config.rb
styleus-0.0.7 config/initializers/01_styleus_config.rb
styleus-0.0.6 config/initializers/01_styleus_config.rb
styleus-0.0.5 config/initializers/01_styleus_config.rb
styleus-0.0.4 config/initializers/01_styleus_config.rb