app/helpers/shipit/stacks_helper.rb in shipit-engine-0.8.9 vs app/helpers/shipit/stacks_helper.rb in shipit-engine-0.9.0
- old
+ new
@@ -35,10 +35,10 @@
commit.pull_request_url || github_commit_url(commit)
end
def render_commit_message(commit)
message = commit.pull_request_title || commit.message
- content_tag(:span, message.truncate(COMMIT_TITLE_LENGTH), class: 'event-message')
+ content_tag(:span, emojify(message.truncate(COMMIT_TITLE_LENGTH)), class: 'event-message')
end
def render_commit_message_with_link(commit)
link_to(render_commit_message(commit), github_change_url(commit), target: '_blank')
end