diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index 4b0e707..4ab87a2 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -3,6 +3,10 @@ module ApplicationHelper bootstrap_classes[flash_type] || flash_type.to_s end + def glyph(icon) + content_tag(:i, class: "glyphicon glyphicon-#{icon}") {} + end + private def bootstrap_classes diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb index 1eb3b1b..ed0975b 100644 --- a/app/views/users/index.html.erb +++ b/app/views/users/index.html.erb @@ -16,7 +16,8 @@