Sha256: b4121ba78063e883e73535bd237613ce9d856aa2e9c2b7bea40cfb3fff893cd4

Contents?: true

Size: 157 Bytes

Versions: 13

Compression:

Stored size: 157 Bytes

Contents

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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
happy-0.1.0.pre14 lib/happy/ext/static.rb
happy-0.1.0.pre13 lib/happy/ext/static.rb
happy-0.1.0.pre12 lib/happy/ext/static.rb
happy-0.1.0.pre11 lib/happy/ext/static.rb
happy-0.1.0.pre10 lib/happy/ext/static.rb
happy-0.1.0.pre9 lib/happy/ext/static.rb
happy-0.1.0.pre8 lib/happy/ext/static.rb
happy-0.1.0.pre7 lib/happy/ext/static.rb
happy-0.1.0.pre.6 lib/happy/ext/static.rb
happy-0.1.0.pre.5 lib/happy/ext/static.rb
happy-0.1.0.pre.4 lib/happy/ext/static.rb
happy-0.1.0.pre.3 lib/happy/ext/static.rb
happy-0.1.0.pre.2 lib/happy/ext/static.rb