diff --git a/app/views/channels/_channelinfo.html.erb b/app/views/channels/_channelinfo.html.erb index 2c7d5fd..bb2fe0c 100644 --- a/app/views/channels/_channelinfo.html.erb +++ b/app/views/channels/_channelinfo.html.erb @@ -4,12 +4,14 @@
by <%= link_to @channel.user.login, user_profile_path(@channel.user.login) %>

<% end %>
<%= @channel.description %>

-
- Tags: - <% @channel.tags.each do |tag| %> - <%= tag.name %><% unless tag == @channel.tags.last %>, <% end %> - <% end %> -

+ <% if @channel.tags.present? %> +
+ Tags: + <% @channel.tags.each do |tag| %> + <%= tag.name %><% unless tag == @channel.tags.last %>, <% end %> + <% end %> +

+ <% end %>