Sha256: 4e122785eb9298f43166c3cc4add2e8e2b1c1c43914d5d89f31ea04b5363b1a0

Contents?: true

Size: 153 Bytes

Versions: 9

Compression:

Stored size: 153 Bytes

Contents

module Happy
  module Extras
    class Static < Happy::Controller
      def route
        run Rack::File.new(options[:path])
      end
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
happy-0.1.0.pre25 lib/happy/extras/static.rb
happy-0.1.0.pre24 lib/happy/extras/static.rb
happy-0.1.0.pre23 lib/happy/extras/static.rb
happy-0.1.0.pre22 lib/happy/extras/static.rb
happy-0.1.0.pre21 lib/happy/extras/static.rb
happy-0.1.0.pre20 lib/happy/extras/static.rb
happy-0.1.0.pre19 lib/happy/extras/static.rb
happy-0.1.0.pre16 lib/happy/extras/static.rb
happy-0.1.0.pre15 lib/happy/extras/static.rb