Create followable concern, follow model. Add followable to proposal model.

This commit is contained in:
Senén Rodero Rodríguez
2017-06-26 20:36:09 +02:00
parent e8e6eff679
commit 84dbef16a4
18 changed files with 372 additions and 4 deletions

View File

@@ -53,6 +53,10 @@
<span class="js-flag-actions">
<%= render 'proposals/flag_actions', proposal: @proposal %>
</span>
<span class="bullet">&nbsp;&bull;&nbsp;</span>
<span class="js-follow">
<%= render 'follows/followable_button', followable: @proposal %>
</span>
</div>
<br>