link to author on tree view item

This commit is contained in:
Dmitriy Zaporozhets 2011-11-06 22:21:48 +02:00
parent 1d1b5186c3
commit f87f0201f0
4 changed files with 19 additions and 3 deletions

View file

@ -4,6 +4,10 @@ module ApplicationHelper
"http://www.gravatar.com/avatar/#{Digest::MD5.hexdigest(user_email)}?s=40&d=identicon"
end
def fixed_mode?
@view_mode == :fixed
end
def body_class(default_class = nil)
main = content_for(:body_class).blank? ?
default_class :