Sounds good... It would be cool to put it in an svn somewhere (sdruby.com?) and I would be willing test it and then put it into some production code.
Thanks, Ryan On 3/4/07, Patrick Crowley <[EMAIL PROTECTED]> wrote:
To set a page title within your view: <h1><%= title "My page title" %></h1> Then, to output the title within your layout: <head> <title>My website<%= title %></title> </head By default, this will output a title preceded by a space, ampersand, and space. ... I'll probably keep "t" around for A-team fans... but this seems cleaner. (I like using a single function for reading/writing the page titles, too.) Thoughts? -- Patrick _______________________________________________ Sdruby mailing list [email protected] http://lists.sdruby.com/mailman/listinfo/sdruby
_______________________________________________ Sdruby mailing list [email protected] http://lists.sdruby.com/mailman/listinfo/sdruby
