summaryrefslogtreecommitdiff
path: root/app/helpers/active_sessions_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'app/helpers/active_sessions_helper.rb')
-rw-r--r--app/helpers/active_sessions_helper.rb20
1 files changed, 10 insertions, 10 deletions
diff --git a/app/helpers/active_sessions_helper.rb b/app/helpers/active_sessions_helper.rb
index 84aa1160f12..35e139b7f60 100644
--- a/app/helpers/active_sessions_helper.rb
+++ b/app/helpers/active_sessions_helper.rb
@@ -8,18 +8,18 @@ module ActiveSessionsHelper
def active_session_device_type_icon(active_session)
icon_name =
case active_session.device_type
- when 'smartphone', 'feature phone', 'phablet'
- 'mobile'
- when 'tablet'
- 'tablet'
- when 'tv', 'smart display', 'camera', 'portable media player', 'console'
- 'media'
- when 'car browser'
- 'car'
+ when "smartphone", "feature phone", "phablet"
+ "mobile"
+ when "tablet"
+ "tablet"
+ when "tv", "smart display", "camera", "portable media player", "console"
+ "media"
+ when "car browser"
+ "car"
else
- 'monitor-o'
+ "monitor-o"
end
- sprite_icon(icon_name, size: 16, css_class: 'prepend-top-2')
+ sprite_icon(icon_name, size: 16, css_class: "prepend-top-2")
end
end