% request.headers['REQUEST_URI'] = "" if request.headers['REQUEST_URI'].nil? realUrl = request.original_url if (realUrl.match(/.*forge\.trustie\.net\/*/)) #@nav_dispaly_project_label = 1 #@nav_dispaly_forum_label = 1 elsif (realUrl.match(/.*course\.trustie\.net\/*/)) #@nav_dispaly_course_all_label = 1 #@nav_dispaly_forum_label = 1 #@nav_dispaly_course_label = nil #@nav_dispaly_store_all_label = 1 elsif (realUrl.match(/.*user\.trustie\.net\/*/)) #@nav_dispaly_home_path_label = 1 #@nav_dispaly_main_course_label = 1 #@nav_dispaly_main_project_label = 1 #@nav_dispaly_main_contest_label = 1 elsif (realUrl.match(/.*contest\.trustie\.net\/*/)) #@nav_dispaly_contest_label = 1 #@nav_dispaly_store_all_label = 1 else #@nav_dispaly_project_all_label = 1 #@nav_dispaly_course_all_label = 1 #@nav_dispaly_forum_label = 1 #@nav_dispaly_bid_label = 1 #@nav_dispaly_contest_label = 1 #@nav_dispaly_store_all_label = 1 #@nav_dispaly_user_label = 1 end %> <%= render :partial => "layouts/base_feedback" %>