The action and the views were almost identical, with the supports progress and the HTML classes of the success message element being the only exceptions; we can use CSS for the styles instead.
2 lines
52 B
Plaintext
2 lines
52 B
Plaintext
<%= render "proposals/votes", proposal: proposal %>
|