diff --git a/app/views/rooms/cant_create_rooms.html.erb b/app/views/rooms/cant_create_rooms.html.erb index 1979731e..cb661fa6 100644 --- a/app/views/rooms/cant_create_rooms.html.erb +++ b/app/views/rooms/cant_create_rooms.html.erb @@ -20,7 +20,7 @@
- <% if current_user.image.blank? %> + <% if current_user.image.blank? || !valid_url?(current_user.image) %> <%= current_user.name.first %> <% else %> <%= image_tag(current_user.image, class: "avatar avatar-xxxl card-profile-img") %>