fix bug with approving bulk update requests

This commit is contained in:
r888888888
2016-06-12 17:34:13 -07:00
parent 45e5ea817a
commit cab6768b4b

View File

@@ -28,7 +28,7 @@ class BulkUpdateRequestsController < ApplicationController
end
def approve
@bulk_update_request.approve!(CurrentUse.user.id)
@bulk_update_request.approve!(CurrentUser.user.id)
flash[:notice] = "Bulk update request approved"
respond_with(@bulk_update_request, :location => bulk_update_requests_path)
end