Class: KomachiAliveMonitoring::PingController

Inherits:
ApplicationController show all
Defined in:
app/controllers/komachi_alive_monitoring/ping_controller.rb

Instance Method Summary collapse

Instance Method Details

#index ⇒ Object



5
6
7
8
# File 'app/controllers/komachi_alive_monitoring/ping_controller.rb', line 5

def index
  ActiveRecord::Base.connection.execute "SELECT * FROM `schema_migrations` LIMIT 1"
  head :ok
end