remove pry
This commit is contained in:
parent
1755d7a790
commit
6a14676248
|
@ -199,7 +199,6 @@ class WordsController < ApplicationController
|
||||||
def obj_distinguish_url_origin
|
def obj_distinguish_url_origin
|
||||||
#modify by nwb
|
#modify by nwb
|
||||||
#添加对课程留言的支持
|
#添加对课程留言的支持
|
||||||
binding.pry
|
|
||||||
referer = request.headers["Referer"]
|
referer = request.headers["Referer"]
|
||||||
obj_id = referer.match(%r(/([0-9]{1,})(/|$)))[1]
|
obj_id = referer.match(%r(/([0-9]{1,})(/|$)))[1]
|
||||||
if referer.match(/project/)
|
if referer.match(/project/)
|
||||||
|
|
Loading…
Reference in New Issue