From 6a14676248e6a820dd1ba1024ea1b7b50ba59bbe Mon Sep 17 00:00:00 2001 From: yanxd Date: Thu, 24 Jul 2014 17:24:30 +0800 Subject: [PATCH] remove pry --- app/controllers/words_controller.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/controllers/words_controller.rb b/app/controllers/words_controller.rb index 13e4c2c5a..110f81537 100644 --- a/app/controllers/words_controller.rb +++ b/app/controllers/words_controller.rb @@ -199,7 +199,6 @@ class WordsController < ApplicationController def obj_distinguish_url_origin #modify by nwb #添加对课程留言的支持 - binding.pry referer = request.headers["Referer"] obj_id = referer.match(%r(/([0-9]{1,})(/|$)))[1] if referer.match(/project/)