Changeset 1673

Show
Ignore:
Timestamp:
03/06/08 06:43:27 (2 months ago)
Author:
pdcawley
Message:

Got the test in page_title the right way around. Silly me.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/app/helpers/content_helper.rb

    r1671 r1673  
    3434  def page_title 
    3535    blog_name = this_blog.blog_name || "Typo" 
    36     if @page_title.blank? 
     36    if !@page_title.blank? 
    3737      # this is where the page title prefix (string) should go 
    3838      (this_blog.title_prefix == 1 ? blog_name + " : " : '') + @page_title + (this_blog.title_prefix == 2 ? " : " + blog_name : '')