From 55ceb1ad590436c9aba6322c56e256dbf64ef32c Mon Sep 17 00:00:00 2001 From: cktricky Date: Thu, 10 Mar 2016 09:46:12 -0500 Subject: [PATCH] removing render vuln since we are no longer vulnerable to it --- app/controllers/dashboard_controller.rb | 3 --- 1 file changed, 3 deletions(-) diff --git a/app/controllers/dashboard_controller.rb b/app/controllers/dashboard_controller.rb index 0f8dcae..685305e 100644 --- a/app/controllers/dashboard_controller.rb +++ b/app/controllers/dashboard_controller.rb @@ -23,7 +23,4 @@ class DashboardController < ApplicationController render :partial => "layouts/dashboard/dashboard_stats" end - def doc - render "../../doc/" + params[:doc] - end end