Sha256: 7acbcc002d1b3a8397a24492ee07267dc0b789051332a3f24d36fa3cd3fada06
Contents?: true
Size: 479 Bytes
Versions: 13
Compression:
Stored size: 479 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 engine :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
13 entries across 13 versions & 1 rubygems