Class: AppIndexController
- Inherits:
-
ActionController::Base
- Object
- ActionController::Base
- AppIndexController
- Defined in:
- lib/generators/json_voorhees/setup_app/templates/app_index_controller.rb
Instance Method Summary collapse
Instance Method Details
#app ⇒ Object
2 3 4 5 |
# File 'lib/generators/json_voorhees/setup_app/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 |