Class: SetupController

Inherits:
ApplicationController
  • Object
show all
Defined in:
lib/generators/happy_seed/base/templates/app/controllers/setup_controller.rb

Instance Method Summary collapse

Instance Method Details

#indexObject



5
6
7
8
# File 'lib/generators/happy_seed/base/templates/app/controllers/setup_controller.rb', line 5

def index
  @env = File.read( File.join( Rails.root, ".env" ) )
  @docs = files
end