From c24373f6ebbaca42f32b82c340c9743438549b79 Mon Sep 17 00:00:00 2001 From: Vokhmin Alexey V Date: Sat, 2 Feb 2013 13:27:40 +0400 Subject: [PATCH] #880: remove unnecessary methods --- .../platforms/product_build_lists_controller.rb | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/app/controllers/platforms/product_build_lists_controller.rb b/app/controllers/platforms/product_build_lists_controller.rb index 541ad91e1..84c43e006 100644 --- a/app/controllers/platforms/product_build_lists_controller.rb +++ b/app/controllers/platforms/product_build_lists_controller.rb @@ -74,16 +74,4 @@ class Platforms::ProductBuildListsController < Platforms::BaseController @build_server_status = AbfWorker::StatusInspector.products_status end - protected - - def find_product_build_list - @product_build_list = ProductBuildList.find params[:id] - end - - def authenticate_product_builder! - # FIXME: Rails(?) interpret the internal IP as 127.0.0.1 - unless (APP_CONFIG['product_builder_ip'].values + ["127.0.0.1"]).include?(request.remote_ip) - render :nothing => true, :status => 403 - end - end end