app/controllers/tokens_controller.rb in automate-em-0.0.2 vs app/controllers/tokens_controller.rb in automate-em-0.0.3
- old
+ new
@@ -83,10 +83,10 @@
end
end
def servers
- render :json => Server.all
+ render :json => Server.where(:online => true).all
end
protected