Sha256: e7ebcee485a5f22dda282b54f75b9362df6a41923804b2fe49276cbc8d24ad78
Contents?: true
Size: 292 Bytes
Versions: 22
Compression:
Stored size: 292 Bytes
Contents
require 'rack/file' require 'flipper/ui/action' module Flipper module UI module Actions class File < UI::Action route %r{(images|css|js|octicons|fonts)/.*\Z} def get Rack::File.new(public_path).call(request.env) end end end end end
Version data entries
22 entries across 22 versions & 1 rubygems