0
請有人可以幫助我的Rails應用程序。出於某種原因,服務器記錄控制器中指定的HTML過程,但隨後JS也處理日誌? JS的任何控制器都沒有響應格式。Rails:服務器日誌顯示處理爲HTML然後JS
這可能是什麼原因造成的?
服務器日誌:
Started GET "/events"
Processing by EventsController#index as HTML
...
Completed 200 OK in 441ms (Views: 434.0ms | ActiveRecord: 2.3ms)
Started GET "/events?_=1234567890987"
Processing by EventsController#index as JS
Parameters: {"_"=>"1234567890987"}
...
Completed 200 OK in 179ms (Views: 174.7ms | ActiveRecord: 0.7ms)