Sha256: 26550c7729f0b94d7ebec36211f8dde66a19ac570151d582d271305a505bbe75

Contents?: true

Size: 629 Bytes

Versions: 1

Compression:

Stored size: 629 Bytes

Contents

# Include default staticmatic init
require 'staticmatic/merb/init'

dependency "merb-haml"

<% if compass %>
# Enable Compass
dependency "chriseppstein-compass", :require_as => 'compass'

Merb::BootLoader.after_app_loads do
  module Compass::SassExtensions::Functions::Urls
    def compute_cache_buster(path, real_path)
      false
    end
  end
  
  Compass.configuration.project_path = File.join(File.dirname(__FILE__), '..', 'public')
  Compass.configuration.images_dir = "images"
  Compass.configuration.relative_assets = true
end

Merb::Config.use do |c|
  c[:compass] = {
    :stylesheets => 'stylesheets'
  }
end
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tdreyno-staticmatic-2.11.1 lib/template/config/init.rb