I use the front controller too.
On Oct 4, 4:41 am, geoffd123 <[email protected]> wrote:
> If it is only one or two pages I add an action to my front controller
> e.g. def about; end
> then you add about.dryml to the views/front.
>
> If it is a lot more then using the 'StaticController' approach is
> easier.
>
> Cheers
> Geoff
>
> On Oct 4, 11:54 am, Kristian <[email protected]> wrote:
>
> > If you want to generate static HTML files from DRYML, you should read
> > my "DRYML internals" document in the files section of this group.
> > There is a small eample of how you can make DRYML output the DRYML-
> > generated erb to a file. Then have some Ruby code load the contents of
> > the generated file and execute it using eval() and store the resulting
> > HTML string in a new file.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo
Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---