11 lines
300 B
Ruby
11 lines
300 B
Ruby
module CommentsHelper
|
|
|
|
def comment_link_text(parent)
|
|
parent.is_a? Comment ? t("comments_helper.reply_link") : t("comments_helper.comment_link")
|
|
end
|
|
|
|
def comment_button_text(parent)
|
|
parent.is_a? Comment ? t("comments_helper.reply_button") : t("comments_helper.comment_button")
|
|
end
|
|
|
|
end |