Sha256: 6a694d3f8137b9b6291280ad1b5dbf578c4dcb3c3498386937156f405ad7eac1
Contents?: true
Size: 245 Bytes
Versions: 3
Compression:
Stored size: 245 Bytes
Contents
class PrecssiousController < ActionController::Base def show css = Precssious.process_files(Dir["#{Precssious.directory}/#{params[:id]}/*.css"].sort, true) response.content_type = 'text/css' render :text => css end end
Version data entries
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
erikhansson-precssious-0.1.0 | lib/precssious/rails/controller.rb |
erikhansson-precssious-0.1.1 | lib/precssious/rails/controller.rb |
precssious-0.1.1 | lib/precssious/rails/controller.rb |