SourceForge: woof/woof: changeset 122:5f317c96af03
Do not automatically make object variables visible in templates.
authorAshok P. Nadkarni <apnadkarni@users.sourceforge.net>
Wed Nov 11 20:49:09 2009 +0530 (2 weeks ago)
changeset 1225f317c96af03
parent 121a5d7e4cc6a20
child 12386a58de3ba05
Do not automatically make object variables visible in templates.
app/controllers/_woof/views/manage-supplement.wtf
app/controllers/_woof/views/manage-welcome-main.wtf
     1.1 --- a/app/controllers/_woof/views/manage-supplement.wtf	Wed Nov 11 20:48:35 2009 +0530
     1.2 +++ b/app/controllers/_woof/views/manage-supplement.wtf	Wed Nov 11 20:49:09 2009 +0530
     1.3 @@ -8,6 +8,7 @@
     1.4      [my link_to "User Guide" -module _woof::docs -controller ug -action preface]
     1.5    </li>
     1.6    <li>
     1.7 +% my variable woof_url
     1.8      <a href='$woof_url(reference)'>Reference</a>
     1.9    </li>
    1.10  </ul>
     2.1 --- a/app/controllers/_woof/views/manage-welcome-main.wtf	Wed Nov 11 20:48:35 2009 +0530
     2.2 +++ b/app/controllers/_woof/views/manage-welcome-main.wtf	Wed Nov 11 20:49:09 2009 +0530
     2.3 @@ -13,6 +13,7 @@
     2.4    your application's default page.
     2.5  </p>
     2.6  % }
     2.7 +% my variable woof_url
     2.8  <p>
     2.9    To get started, do have a look through the
    2.10    <a href='$woof_url(quick_start)'>Quick Start</a> chapter of the