fix bug with approving bulk update requests
This commit is contained in:
@@ -28,7 +28,7 @@ class BulkUpdateRequestsController < ApplicationController
|
|||||||
end
|
end
|
||||||
|
|
||||||
def approve
|
def approve
|
||||||
@bulk_update_request.approve!(CurrentUse.user.id)
|
@bulk_update_request.approve!(CurrentUser.user.id)
|
||||||
flash[:notice] = "Bulk update request approved"
|
flash[:notice] = "Bulk update request approved"
|
||||||
respond_with(@bulk_update_request, :location => bulk_update_requests_path)
|
respond_with(@bulk_update_request, :location => bulk_update_requests_path)
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user