Sha256: fb09e6b71d25ed335c503aedcc1cc96d6e99e65d4e408facfc45a659ac21de70
Contents?: true
Size: 364 Bytes
Versions: 6
Compression:
Stored size: 364 Bytes
Contents
require 'kontrol' class Nested < Kontrol::Application map do map '/blog' do get '/archives' do "The archives!" end end map '(.*)' do get do |path| "<form method='post'><input type='submit'/></form>" end post do |path| "You called #{path}" end end end end run Nested.new
Version data entries
6 entries across 6 versions & 1 rubygems