Do not show flaggable and followable buttons on budgets_investment and proposals pages when user is not logged.
This commit is contained in:
committed by
Senén Rodero Rodríguez
parent
0ffa213a65
commit
97ee107157
@@ -13,10 +13,12 @@
|
||||
<%= l investment.created_at.to_date %>
|
||||
<span class="bullet"> • </span>
|
||||
<%= investment.heading.name %>
|
||||
<span class="bullet"> • </span>
|
||||
<span class="js-follow">
|
||||
|
||||
<% if current_user %>
|
||||
<span class="bullet"> • </span>
|
||||
<%= render 'follows/followable_button', followable: investment %>
|
||||
</span>
|
||||
<% end %>
|
||||
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user