Class: LetsencryptPlugin::ApplicationController

Inherits:
ActionController::Base
  • Object
show all
Defined in:
app/controllers/letsencrypt_plugin/application_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



6
7
8
9
10
# File 'app/controllers/letsencrypt_plugin/application_controller.rb', line 6

def index
  # There is only one item in DB with challenge response from our task
  # we will use it to render plain text response
  render plain: @response.response, status: :ok
end