Sha256: 2eef31c07f19002dc102b72a7eff6b9017e26a697219703bf333dc3daace1e57
Contents?: true
Size: 489 Bytes
Versions: 24
Compression:
Stored size: 489 Bytes
Contents
require 'rubygems' require 'ramaze' # This is a small extension to the hello world example, showing how to use the # <render> tag of Nagoro. # # Browse to /more and /even_more class MainController < Ramaze::Controller provide :html => :nagoro def index "Hello, World!" end def more @tail = request[:tail] || 'the standard' 'More of <render src="/index" /> #@tail' end def even_more '<render src="/more" tail="This is even more" />' end end Ramaze.start
Version data entries
24 entries across 24 versions & 4 rubygems