diff options
author | Robert Schilling <rschilling@student.tugraz.at> | 2014-09-01 17:47:28 +0200 |
---|---|---|
committer | Robert Schilling <rschilling@student.tugraz.at> | 2014-09-26 01:32:33 +0200 |
commit | 390183a4269684f64e2e290869bee21cf18bf160 (patch) | |
tree | 6f23a073c64509f7ceded3bf119baf3134cb45c1 /app/helpers | |
parent | 9cd5ff043a72001201b4c8192a45f8029ebe84ac (diff) | |
download | gitlab-ce-390183a4269684f64e2e290869bee21cf18bf160.tar.gz |
Factor out Emoji parsing using html-pipeline-gitlab
Diffstat (limited to 'app/helpers')
-rw-r--r-- | app/helpers/application_helper.rb | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 07938b8065d..728c5041074 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -151,12 +151,6 @@ module ApplicationHelper sanitize(str, tags: %w(a span)) end - def image_url(source) - # prevent relative_root_path being added twice (it's part of root_url and path_to_image) - root_url.sub(/#{root_path}$/, path_to_image(source)) - end - - alias_method :url_to_image, :image_url def body_data_page path = controller.controller_path.split('/') |