Class: AppIndexController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- AppIndexController
- Defined in:
- lib/generators/horse_power/setup/templates/app_index_controller.rb
Instance Method Summary collapse
Instance Method Details
#app ⇒ Object
2 3 4 5 |
# File 'lib/generators/horse_power/setup/templates/app_index_controller.rb', line 2 def app #This might come in handy if using the backend for a website #render :file => "#{RAILS_ROOT}/public/index.html" end |