Sha256: da156350e5cad0764f9c5f4d3acfa2304c191d6f8810878937f5fd2ad94e8a83

Contents?: true

Size: 197 Bytes

Versions: 51

Compression:

Stored size: 197 Bytes

Contents

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

51 entries across 36 versions & 2 rubygems

Version Path
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/app/controllers/css_controller.rb
zuora_connect_ui-0.9.2 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.7.1/spec/app/app/controllers/css_controller.rb
autoprefixer-rails-9.7.1 spec/app/app/controllers/css_controller.rb
autoprefixer-rails-9.7.0 spec/app/app/controllers/css_controller.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.4/spec/app/app/controllers/css_controller.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/app/controllers/css_controller.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1/spec/app/app/controllers/css_controller.rb
zuora_connect_ui-0.9.1 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.5/spec/app/app/controllers/css_controller.rb
autoprefixer-rails-9.6.5 spec/app/app/controllers/css_controller.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/app/controllers/css_controller.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.4/spec/app/app/controllers/css_controller.rb
zuora_connect_ui-0.9.0 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1/spec/app/app/controllers/css_controller.rb
autoprefixer-rails-9.6.4 spec/app/app/controllers/css_controller.rb
autoprefixer-rails-9.6.3 spec/app/app/controllers/css_controller.rb
autoprefixer-rails-9.6.2 spec/app/app/controllers/css_controller.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1.1/spec/app/app/controllers/css_controller.rb
zuora_connect_ui-0.8.3 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1/spec/app/app/controllers/css_controller.rb
autoprefixer-rails-9.6.1.1 spec/app/app/controllers/css_controller.rb
zuora_connect_ui-0.8.2 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1/spec/app/app/controllers/css_controller.rb
zuora_connect_ui-0.8.1 vendor/ruby/2.6.0/gems/autoprefixer-rails-9.6.1/spec/app/app/controllers/css_controller.rb