[Rails] Fixed bug introduced in 0.8.3.
This commit is contained in:
parent
f8987b8165
commit
43cb64d77e
@ -1,6 +1,11 @@
|
||||
COMPASS CHANGELOG
|
||||
=================
|
||||
|
||||
0.8.4 (July 06, 2009)
|
||||
---------------------
|
||||
|
||||
Fixed a bug in rails integration introduced in 0.8.3.
|
||||
|
||||
0.8.3 (July 06, 2009)
|
||||
---------------------
|
||||
|
||||
|
@ -2,7 +2,7 @@ unless defined?(Compass::RAILS_LOADED)
|
||||
Compass::RAILS_LOADED = true
|
||||
require File.join(File.dirname(__FILE__), 'rails', 'action_controller')
|
||||
require File.join(File.dirname(__FILE__), 'rails', 'sass_plugin')
|
||||
require File.join(File.dirname(__FILE__), 'rails', 'image_url')
|
||||
require File.join(File.dirname(__FILE__), 'rails', 'urls')
|
||||
# Wierd that this has to be re-included to pick up sub-modules. Ruby bug?
|
||||
class Sass::Script::Functions::EvaluationContext
|
||||
include Sass::Script::Functions
|
||||
|
@ -1,4 +1,4 @@
|
||||
module Compass::SassExtensions::Functions::ImageUrl
|
||||
module Compass::SassExtensions::Functions::Urls
|
||||
def image_url_with_rails_integration(path)
|
||||
if @controller = Sass::Plugin.rails_controller
|
||||
begin
|
Loading…
Reference in New Issue
Block a user