fix error if no user for channel
This commit is contained in:
parent
c78c66ec7e
commit
fa333400c8
@ -2,7 +2,9 @@
|
|||||||
<div class="FL" ><h3 class="channel_info"><%= @channel.name %></h3></div>
|
<div class="FL" ><h3 class="channel_info"><%= @channel.name %></h3></div>
|
||||||
<div class="FR list_tags"><%= @channel.list_tags %></div>
|
<div class="FR list_tags"><%= @channel.list_tags %></div>
|
||||||
<div class="CB"></div>
|
<div class="CB"></div>
|
||||||
|
<% if @channel.user.present? %>
|
||||||
<p>by <%= link_to @channel.user.login, user_profile_path(@channel.user.login) %></p>
|
<p>by <%= link_to @channel.user.login, user_profile_path(@channel.user.login) %></p>
|
||||||
|
<% end %>
|
||||||
<div class="channelDescription" ><p><%= @channel.description %></p></div>
|
<div class="channelDescription" ><p><%= @channel.description %></p></div>
|
||||||
<p></p>
|
<p></p>
|
||||||
</div> <!-- end channelInfo -->
|
</div> <!-- end channelInfo -->
|
||||||
|
Loading…
Reference in New Issue
Block a user