Sha256: 03e93b2e697dfacf547578502521b0003adb73b311bd6f9ffc3b689448dae467
Contents?: true
Size: 322 Bytes
Versions: 1
Compression:
Stored size: 322 Bytes
Contents
module EsHero class HomeController < ActionController::Base layout false protect_from_forgery http_basic_authenticate_with name: ENV["ESHERO_USERNAME"], password: ENV["ESHERO_PASSWORD"] if ENV["ESHERO_PASSWORD"] def index @nodes = EsHero.nodes @indices = EsHero.indices end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
eshero-0.0.1 | app/controllers/es_hero/home_controller.rb |