質問編集履歴
3
Presence.createをPersonalLog.createに変更
test
CHANGED
File without changes
|
test
CHANGED
@@ -56,7 +56,7 @@
|
|
56
56
|
|
57
57
|
map[:probing].each do |p|
|
58
58
|
|
59
|
-
Pr
|
59
|
+
PersonalLog.create(ap_mac: p[:ap_mac], client_mac: p[:client_mac],
|
60
60
|
|
61
61
|
last_seen: DateTime.parse(p[:last_seen]),
|
62
62
|
|
2
routes.rbの修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -92,7 +92,7 @@
|
|
92
92
|
|
93
93
|
Rails.application.routes.draw do
|
94
94
|
|
95
|
-
|
95
|
+
match 'personal_logs', :to => 'personal_logs#presenceapi', :as => :personal_logs, :via => [:get, :post]
|
96
96
|
|
97
97
|
end
|
98
98
|
|
1
修正
test
CHANGED
File without changes
|
test
CHANGED
@@ -76,7 +76,7 @@
|
|
76
76
|
|
77
77
|
else
|
78
78
|
|
79
|
-
render :text =>
|
79
|
+
render :text => MERAKI_VALIDATOR
|
80
80
|
|
81
81
|
end
|
82
82
|
|