Updated. Fix bug.
This commit is contained in:
1 parent
908a90d467
commit
ca3f2f3a10
8 files changed
+110
-29
No files matched your search
@@ -307,7 +307,7 @@ class Admin::RulingTimersController < OrbitMemberController
|
||||
@comment = RulingTimerComment.where(:id=>params["id"]).first
|
||||
end
|
||||
if @comment.nil?
|
||||
@comment = RulingTimerComment.new(:ruling_timer_task_id=>params["task_id"])
|
||||
@comment = RulingTimerComment.new(:ruling_timer_task_id=>params["task_id"],:uploader_id=>current_user.id)
|
||||
i = @task.ruling_timer_comments.count
|
||||
else
|
||||
i = @task.ruling_timer_comments.find_index{|c| c.id.to_s == params["id"]}
|
||||
|
||||
Reference in new issue
Block a user