From e5844b341ee91ec6f1b302679fc434e326e7463e Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Wed, 12 Jun 2019 02:14:23 -0500 Subject: [PATCH] a/an universe --- app/views/content/cards/_in_universe_content_list.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/content/cards/_in_universe_content_list.html.erb b/app/views/content/cards/_in_universe_content_list.html.erb index fcb1c2ee..79b0bbfd 100644 --- a/app/views/content/cards/_in_universe_content_list.html.erb +++ b/app/views/content/cards/_in_universe_content_list.html.erb @@ -41,7 +41,7 @@ <%= link_to new_polymorphic_path(content_type), class: "btn-floating btn-large hoverable halfway-fab waves-effect waves-light #{content_type_class.color} tooltipped #{'grey' unless current_user.can_create?(content_type_class)}", data: { position: 'bottom', - tooltip: current_user.can_create?(content_type_class) ? "Create a#{'n' if %w(a e i o u).include?(content_type.to_s[0])} #{content_type.to_s}" + tooltip: current_user.can_create?(content_type_class) ? "Create a#{'n' if %w(a e i o u).include?(content_type.to_s[0]) && content_type.to_s != 'universe'} #{content_type.to_s}" : "#{content_type.to_s.pluralize.titleize} require a Premium subscription to create.", enterDelay: 50 } do %>