Commit 7d9678c7 authored by nazarf's avatar nazarf

change set all miss to all restart

parent ba5ae175
......@@ -79,7 +79,7 @@ class MinersController < AdminController
end
def set_miners_miss
Miner.update_all(status: Miner::STATUSES[0], last_activity: Time.now)
Miner.update_all(status: Miner::STATUSES[2], last_activity: Time.now)
respond_to do |format|
format.html { redirect_to miners_url, notice: 'Miners was set miss' }
format.json { head :no_content }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment