Class: StellarBase::HomeController

Inherits:
ApplicationController show all
Defined in:
app/controllers/stellar_base/home_controller.rb

Instance Method Summary collapse

Instance Method Details

#showObject



7
8
9
10
11
12
13
14
15
# File 'app/controllers/stellar_base/home_controller.rb', line 7

def show
  stellar_toml = StellarToml.new(StellarBase.configuration.stellar_toml)

  respond_to do |f|
    f.toml do
      render plain: ::TomlRB.dump(stellar_toml.to_hash)
    end
  end
end