Sha256: 3a1626196d07614d4b40f4ce300caa6f72997441b6d99f30ba513b42410693a5

Contents?: true

Size: 802 Bytes

Versions: 49

Compression:

Stored size: 802 Bytes

Contents

unless defined?(Sass::RAILS_LOADED)
  Sass::RAILS_LOADED = true

  Sass::Plugin.options.merge!(:template_location  => RAILS_ROOT + '/public/stylesheets/sass',
                              :css_location       => RAILS_ROOT + '/public/stylesheets',
                              :always_check       => RAILS_ENV != "production",
                              :full_exception     => RAILS_ENV != "production")

  # :stopdoc:
  module ActionController
    class Base
      alias_method :sass_old_process, :process
      def process(*args)
        if !Sass::Plugin.checked_for_updates ||
            Sass::Plugin.options[:always_update] || Sass::Plugin.options[:always_check]
          Sass::Plugin.update_stylesheets
        end

        sass_old_process(*args)
      end
    end
  end
  # :startdoc:
end

Version data entries

49 entries across 49 versions & 11 rubygems

Version Path
honkster-haml-2.1.0 lib/sass/plugin/rails.rb
honkster-haml-2.1.1 lib/sass/plugin/rails.rb
jwhitmire-haml-2.1.0.1 lib/sass/plugin/rails.rb
jwhitmire-haml-2.1.0.2 lib/sass/plugin/rails.rb
jwhitmire-haml-2.1.0.3 lib/sass/plugin/rails.rb
wireframe-haml-2.1.0 lib/sass/plugin/rails.rb
wireframe-haml-2.1.1 lib/sass/plugin/rails.rb
radiantcms-couchrest_model-0.2.4 vendor/plugins/haml/lib/sass/plugin/rails.rb
radiantcms-couchrest_model-0.2.2 vendor/plugins/haml/lib/sass/plugin/rails.rb
radiantcms-couchrest_model-0.2.1 vendor/plugins/haml/lib/sass/plugin/rails.rb
radiantcms-couchrest_model-0.2 vendor/plugins/haml/lib/sass/plugin/rails.rb
radiantcms-couchrest_model-0.1.9 vendor/plugins/haml/lib/sass/plugin/rails.rb
radiantcms-couchrest_model-0.1.8 vendor/plugins/haml/lib/sass/plugin/rails.rb
radiantcms-couchrest_model-0.1.7 vendor/plugins/haml/lib/sass/plugin/rails.rb
radiantcms-couchrest_model-0.1.6 vendor/plugins/haml/lib/sass/plugin/rails.rb
radiantcms-couchrest_model-0.1.5 vendor/plugins/haml/lib/sass/plugin/rails.rb
radiant-0.7.2 vendor/plugins/haml/lib/sass/plugin/rails.rb
radiant-0.8.2 vendor/plugins/haml/lib/sass/plugin/rails.rb
radiant-rc-0.9.0 vendor/plugins/haml/lib/sass/plugin/rails.rb
radiant-0.8.1 vendor/plugins/haml/lib/sass/plugin/rails.rb