Sha256: 762df56eb6c7efdcc67dbc587ecb84af6a270754a6a0437334fde9f6f06de137
Contents?: true
Size: 200 Bytes
Versions: 2
Compression:
Stored size: 200 Bytes
Contents
class Lux::Application def lux_static_files_plug file = Lux::Current::StaticFile.new(Lux.current.request.path) return false unless file.is_static_file? file.deliver true end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
lux-fw-0.2.3 | ./lib/lux/application/lib/plugs.rb |
lux-fw-0.2.1 | ./lib/lux/application/lib/plugs.rb |