summaryrefslogtreecommitdiff
path: root/app/helpers
diff options
context:
space:
mode:
authorRobert Schilling <rschilling@student.tugraz.at>2014-09-01 17:47:28 +0200
committerRobert Schilling <rschilling@student.tugraz.at>2014-09-26 01:32:33 +0200
commit390183a4269684f64e2e290869bee21cf18bf160 (patch)
tree6f23a073c64509f7ceded3bf119baf3134cb45c1 /app/helpers
parent9cd5ff043a72001201b4c8192a45f8029ebe84ac (diff)
downloadgitlab-ce-390183a4269684f64e2e290869bee21cf18bf160.tar.gz
Factor out Emoji parsing using html-pipeline-gitlab
Diffstat (limited to 'app/helpers')
-rw-r--r--app/helpers/application_helper.rb6
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('/')