Sha256: b625ff85ccb363938d0016a9464326670805461a0a7c81d3699c648b153e3d3b

Contents?: true

Size: 190 Bytes

Versions: 2

Compression:

Stored size: 190 Bytes

Contents

class Lux::Controller

  def lux_static_files_plug
    file = Lux::Page::StaticFile.new(Lux.page.request.path)
    return false unless file.is_static_file?
    file.read
    true
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lux-fw-0.1.35 ./lib/lux/controller/lib/plugs.rb
lux-fw-0.1.17 ./lib/lux/controller/lib/plugs.rb