Displaying 1 result from an estimated 1 matches for "author_link".
Did you mean:
author_line
2006 May 04
3
Please explain me this ruby code...
Hi all,
This is small code from typo 2.6.0''s "articles_helper.rb" file
================================
def author_link(article)
if config[''link_to_author''] and article.user and
article.user.email.to_s.size>0
"<a
href=\"mailto:#{article.user.email}\">#{article.user.name}</a>"
elsif article.user and article.user.name.to_s.size>0
article.use...