Permalink
Browse files

fixed a bug where description_tag wasn't falling back to the default

  • Loading branch information...
1 parent 038eee2 commit e34584b9c5a059ba211060a05b94e4b40f4230d1 @justinfrench committed Apr 6, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/lovely_layouts.rb
View
@@ -17,7 +17,7 @@ def description(string)
end
def description_tag(default='')
- tag(:meta, :name => "description", :content => @content_for_description)
+ tag(:meta, :name => "description", :content => @content_for_description || default)
end

0 comments on commit e34584b

Please sign in to comment.