Create followable concern, follow model. Add followable to proposal model.
This commit is contained in:
@@ -53,6 +53,10 @@
|
||||
<span class="js-flag-actions">
|
||||
<%= render 'proposals/flag_actions', proposal: @proposal %>
|
||||
</span>
|
||||
<span class="bullet"> • </span>
|
||||
<span class="js-follow">
|
||||
<%= render 'follows/followable_button', followable: @proposal %>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user