[Rg 116] Re: Transferring data from a controller to a template
jesuswasramazing.10.pistos at geoshell.com
jesuswasramazing.10.pistos at geoshell.com
Wed Dec 12 23:31:23 EST 2007
On 12/12/2007, Lars Olsson - lasso at lassoweb.se
<+jesuswasramazing+pistos+b37b175164.lasso#lassoweb.se at spamgourmet.com>
wrote:
> All of a sudden the pages that are displaying the constant and the class
> variable stop working. Ramaze complains that Ramaze::Action doesn't know
> of FOO and @@bar. This seems a little strange to me...Is there any
> reason why class variables and constants available to the controller
> shouldn't be available to the template as well?
I don't know about class variables, but I am able to reference
constants in my templates by fully qualifying them:
TestController::FOO.
Pistos
--
http://blog.purepistos.net
More information about the Ramaze-general
mailing list