Permalink
Browse files

Merge pull request #114 from walterdavis/master

Very minor change in title() method.
  • Loading branch information...
2 parents 0d37edf + 7b963f6 commit 4fc8d255b7327de27baebbddca05728b42db9ca3 @ryanb committed Jun 29, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 rails_generators/nifty_layout/templates/helper.rb
@@ -4,8 +4,8 @@
# helper :layout
module LayoutHelper
def title(page_title, show_title = true)
- @content_for_title = page_title.to_s
@show_title = show_title
+ @content_for_title = page_title.to_s
end
def show_title?

0 comments on commit 4fc8d25

Please sign in to comment.