用户测试数据

dev_hjm
jingquan huang 6 years ago
parent 885e2175cf
commit 5fa82b0fec

@ -239,7 +239,7 @@ class ApplicationController < ActionController::Base
uid_logger("user_setup: " + (User.current.logged? ? "#{User.current.try(:login)} (id=#{User.current.try(:id)})" : "anonymous"))
if !User.current.logged? && Rails.env.development?
User.current = User.find 12
User.current = User.find 57703
end

Loading…
Cancel
Save