Class: SetupController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- SetupController
- Defined in:
- lib/generators/happy_seed/base/templates/app/controllers/setup_controller.rb
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
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 |