Method: BaseHelper#more_comments_links
- Defined in:
- app/helpers/base_helper.rb
#more_comments_links(commentable) ⇒ Object
256 257 258 259 260 261 |
# File 'app/helpers/base_helper.rb', line 256 def more_comments_links(commentable) html = link_to fa_icon('plus-circle', :text => :all_comments.l), commentable_comments_url(commentable.class.to_s.tableize, commentable.to_param) html += "<br />".html_safe html += link_to fa_icon('rss', :text => :comments_rss.l), commentable_comments_url(commentable.class.to_s.tableize, commentable.to_param, :format => :rss) html.html_safe end |