Class: ActionController::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/compass/app_integration/rails/action_controller.rb

Instance Method Summary collapse

Instance Method Details

#process_with_compass(*args) ⇒ Object



4
5
6
7
8
9
10
11
# File 'lib/compass/app_integration/rails/action_controller.rb', line 4

def process_with_compass(*args)
  Sass::Plugin.rails_controller = self
  begin
    process_without_compass(*args)
  ensure
    Sass::Plugin.rails_controller = nil
  end
end