Commit 7d9678c7 authored by nazarf's avatar nazarf

change set all miss to all restart

parent ba5ae175
...@@ -79,7 +79,7 @@ class MinersController < AdminController ...@@ -79,7 +79,7 @@ class MinersController < AdminController
end end
def set_miners_miss 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| respond_to do |format|
format.html { redirect_to miners_url, notice: 'Miners was set miss' } format.html { redirect_to miners_url, notice: 'Miners was set miss' }
format.json { head :no_content } 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