Class: Cytoplasm::PerformanceController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/cytoplasm/performance_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



4
5
6
# File 'app/controllers/cytoplasm/performance_controller.rb', line 4

def index
	
end

#layoutObject



8
9
10
# File 'app/controllers/cytoplasm/performance_controller.rb', line 8

def layout
	
end

#precompileObject



12
13
14
15
16
17
# File 'app/controllers/cytoplasm/performance_controller.rb', line 12

def precompile
	if request.post?
		Cytoplasm.precompile_styles(params[:styles])
		render :text => Cytoplasm::Ajax.success()
	end
end