Sha256: 5baa0bc0b07479c91dd186a5b8f7991b0a0afd9ec5c0b20056da57f9d2ed27a5
Contents?: true
Size: 535 Bytes
Versions: 21
Compression:
Stored size: 535 Bytes
Contents
require 'rubygems' require 'ramaze' class LinkingController < Ramaze::Controller map '/' def index %{simple link <br/> <a href="#{Rs(:help)}">Help?</a>} end def new "something new!" end def help %{you have help <br/> <a href="#{R(LinkToController, :another)}">A Different Controller</a>} end end class LinkToController < Ramaze::Controller map '/link_to' def another %{<a href="#{R(LinkingController, :index)}">Back to Original Controller</a>} end end Ramaze.start :adapter => :mongrel
Version data entries
21 entries across 21 versions & 5 rubygems