|
|
|
@ -23,7 +23,7 @@ class HackUserLastestCodesController < ApplicationController
|
|
|
|
|
|
|
|
|
|
# 同步代码
|
|
|
|
|
def sync_code
|
|
|
|
|
@my_hack.update_attributes(code: @hack.code, modify_time: @hack.modify_time)
|
|
|
|
|
@my_hack.update_attributes(code: @hack.code, modify_time: Time.now)
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
# 调试代码
|
|
|
|
|