ensl.org/app/views/widgets/_poll.html.erb
Ari Timonen ce9797aed8 More progress on Rails 4.1 update
Just fix scopes mostly.

Add binstubs.
2019-06-03 15:38:24 -04:00

8 lines
No EOL
204 B
Text

<% if @current_action == "news_index" %>
<div class="widget poll">
<h4><%= t('widget.poll') %></h4>
<% @poll = Poll.first %>
<%= render(partial: "polls/show") if @poll %>
</div>
<% end %>