From e4d8fa4223915da415b89111f5e90d576c60a33d Mon Sep 17 00:00:00 2001 From: bmv root Date: Fri, 14 Apr 2017 13:22:48 -0400 Subject: [PATCH] change dashboard controller --- Pearlception/app/controllers/dashboard_controller.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Pearlception/app/controllers/dashboard_controller.rb b/Pearlception/app/controllers/dashboard_controller.rb index 3578c3a..e51857e 100644 --- a/Pearlception/app/controllers/dashboard_controller.rb +++ b/Pearlception/app/controllers/dashboard_controller.rb @@ -8,7 +8,8 @@ class DashboardController < ApplicationController puts params @results = Hash.new names = (Company.pluck :company_name) - ["IVA"] - names.map!{|tenant| tenant.gsub(/'/,'').gsub(/\s/,'')} + binding.pry + names.map!{|tenant| tenant.gsub(/'/,'').gsub(/\s/,'')} names.each do |name|