small fix for approve

This commit is contained in:
Harry Bomrah 2015-03-26 20:33:25 +08:00
parent db6b4266a8
commit 0427ae7f0c
1 changed files with 1 additions and 1 deletions

View File

@ -87,7 +87,7 @@
<% end %> <% end %>
<% if b.rejected && !b.approved && user_can_approve? && !b.expired? %> <% if !b.rejected && !b.approved && user_can_approve? && !b.expired? %>
<li><a href="#" class="appoval_button" data-approve-link="<%= "/#{I18n.locale.to_s}/news/#{b.to_param}" %>" data-id="<%= b.id.to_s %>"><%= t("news.approve") %></a></li> <li><a href="#" class="appoval_button" data-approve-link="<%= "/#{I18n.locale.to_s}/news/#{b.to_param}" %>" data-id="<%= b.id.to_s %>"><%= t("news.approve") %></a></li>
<% end %> <% end %>
<% end %> <% end %>