summaryrefslogtreecommitdiff
path: root/app/helpers/application_helper.rb
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2015-01-28 03:30:27 -0500
committerRobert Speicher <rspeicher@gmail.com>2015-01-28 03:37:44 -0500
commitfe831dcd6f4af535abba1a9dc350c4d8a0f809e9 (patch)
treed1633e058a956cb91f7d47c7ef6954affec9cfce /app/helpers/application_helper.rb
parent8633bbc9b852d8809f20db86a3cdfa2cd3b8dd95 (diff)
downloadgitlab-ce-fe831dcd6f4af535abba1a9dc350c4d8a0f809e9.tar.gz
Move `spinner` helper into IconsHelper
Also updates it to use the new `icon` method.
Diffstat (limited to 'app/helpers/application_helper.rb')
-rw-r--r--app/helpers/application_helper.rb9
1 files changed, 0 insertions, 9 deletions
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
index 104ae517a08..d00f1aac2d6 100644
--- a/app/helpers/application_helper.rb
+++ b/app/helpers/application_helper.rb
@@ -247,15 +247,6 @@ module ApplicationHelper
Gitlab::MarkdownHelper.gitlab_markdown?(filename)
end
- def spinner(text = nil, visible = false)
- css_class = 'loading'
- css_class << ' hide' unless visible
-
- content_tag :div, class: css_class do
- content_tag(:i, nil, class: 'fa fa-spinner fa-spin') + text
- end
- end
-
def link_to(name = nil, options = nil, html_options = nil, &block)
begin
uri = URI(options)