summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Hughes <me@iamphill.com>2016-03-16 08:51:09 +0000
committerPhil Hughes <me@iamphill.com>2016-03-16 08:51:09 +0000
commit2941a76fe0fa5305bd6e31e6c47477732e3e7cec (patch)
tree04c406f0a3b44f49bf10e4cd99a2f608301db411
parentc7730121c16e41d797e7f7e00f7a6ad96d78bbb4 (diff)
downloadgitlab-ce-edited-text.tar.gz
Added skip_js commentedited-text
[ci skip]
-rw-r--r--app/helpers/application_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index f07c79ec611..ffddd0400fc 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -168,6 +168,7 @@ module ApplicationHelper
# time - Time object
# placement - Tooltip placement String (default: "top")
# html_class - Custom class for `time` element (default: "time_ago")
+ # skip_js - When true, exclude the `script` tag (default: false)
#
# By default also includes a `script` element with Javascript necessary to
# initialize the `timeago` jQuery extension. If this method is called many