Sha256: fda856fbad3ece1686153c858ec0d1a6c5c41eab25ada58e9154be736962c8fa

Contents?: true

Size: 228 Bytes

Versions: 6

Compression:

Stored size: 228 Bytes

Contents

# frozen_string_literal: true

class CssController < ApplicationController
  def test
    file = params[:exact_file] || params[:file] + ".css"
    render plain: Rails.application.assets[file].to_s.gsub(/;(\s})/, '\1')
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
autoprefixer-rails-10.0.0 spec/app/app/controllers/css_controller.rb
autoprefixer-rails-9.8.6.5 spec/app/app/controllers/css_controller.rb
autoprefixer-rails-9.8.6.4 spec/app/app/controllers/css_controller.rb
autoprefixer-rails-9.8.6.3 spec/app/app/controllers/css_controller.rb
autoprefixer-rails-9.8.6.2 spec/app/app/controllers/css_controller.rb
autoprefixer-rails-9.8.6.1 spec/app/app/controllers/css_controller.rb