app/views/manage/ballot_box/votes/show.html.erb in sunrise-votes-0.1.0 vs app/views/manage/ballot_box/votes/show.html.erb in sunrise-votes-0.1.1

- old
+ new

@@ -6,13 +6,13 @@ <%= stylesheet_link_tag "/javascripts/ballot_box/jquery.jqplot.css" %> <% end %> <div class="edit-bl"> <div class="bot-bg"> - <div id="voteable_title" class="block-title"><%= parent.title %></div> + <div id="voteable_title" class="block-title"><%= @voteable.title %></div> <div class="edit-cont"> - <%= link_to t('manage.sunrise.votes.view'), manage_ballot_box_votes_path(:"#{parent_type}_id" => parent.id) %> + <%= link_to t('manage.sunrise.votes.view'), manage_ballot_box_votes_path( voteable_scope(@voteable) ) %> <div id="chart_dates" style="height:400px;width:800px;"></div> </div> <div class="edit-cont">