12 lines
435 B
Plaintext
12 lines
435 B
Plaintext
|
app\models\setting.rb :165
|
|||
|
# fixed domain url in development. tantantan's bug
|
|||
|
if Rails.env.development?
|
|||
|
methods.map do |m|
|
|||
|
define_singleton_method m do; nil; end if m.to_s =~ /([a-zA-Z]+_domain)$/
|
|||
|
end
|
|||
|
end
|
|||
|
<20><><EFBFBD><EFBFBD><F2B2BFB7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ƶ<EFBFBD><C6B6><EFBFBD>subdomain<69><6E><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD>ڶ<EFBFBD><DAB6><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ת<EFBFBD><D7AA>
|
|||
|
Ϊ<>˿<EFBFBD><CBBF><EFBFBD><EFBFBD><EFBFBD><EFBFBD>㣬ʹ֮<CAB9><D6AE><EFBFBD><EFBFBD><EFBFBD><EFBFBD>developmentģʽ<C4A3><CABD>ʧЧ<CAA7><D0A7>
|
|||
|
# => nyan
|
|||
|
================================================================================
|