This commit is contained in:
albert
2012-01-06 18:37:08 -05:00
parent 720ebdc877
commit fd300ad346
4 changed files with 18 additions and 16 deletions

View File

@@ -16,7 +16,7 @@
<strong>Score</strong>
<span>
<span id="score-for-post-<%= post.id %>"><%= post.score %></span>
<% if CurrentUser.user.is_privileged? %>
<% if CurrentUser.is_privileged? %>
(vote <%= link_to("up", post_votes_path(:score => "up", :post_id => post.id), :remote => true, :method => :post) %>/<%= link_to("down", post_votes_path(:score => "down", :post_id => post.id), :remote => true, :method => :post) %>)
<% end %>
</span>