Sha256: 4b770dc925e98283d85bb028213b91c3fb3c00420506b8bc900b890c94c655e4

Contents?: true

Size: 154 Bytes

Versions: 3

Compression:

Stored size: 154 Bytes

Contents

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
happy-0.1.0 lib/happy/extras/static.rb
happy-0.1.0.pre28 lib/happy/extras/static.rb
happy-0.1.0.pre27 lib/happy/extras/static.rb