change ActiveSupport::SecureRandom to SecureRandom in orbit core

This commit is contained in:
Rueshyna 2012-12-27 12:14:59 +08:00
parent 71fc85c24e
commit 81b0e3c38f
2 changed files with 2 additions and 2 deletions

View File

@ -28,4 +28,4 @@ module Admin::AdBannersHelper
end
end

View File

@ -140,7 +140,7 @@ module OrbitCoreLib
protected
def generate_token
self.s_token = ActiveSupport::SecureRandom.hex(16)
self.s_token = SecureRandom.hex(16)
self.save!
end
end