fix link
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
<td><%= script_with_line_breaks(request.script) %></td>
|
||||
<td id="request-status-for-<%= request.id %>"><%= request.status %></td>
|
||||
<td>
|
||||
<% if CurrentUser.is_moderator? && request.status == "pending" %>
|
||||
<% if CurrentUser.is_admin? && request.status == "pending" %>
|
||||
<%= link_to "Approve", approve_bulk_update_request_path(request), :remote => true, :method => :post %> |
|
||||
<% end %>
|
||||
<% if request.editable?(CurrentUser.user) %>
|
||||
|
||||
Reference in New Issue
Block a user