Class: HomeController
- Inherits:
-
ApplicationController
- Object
- ApplicationController
- HomeController
- Defined in:
- lib/generators/tsykvas_rails_template/install/templates/app/controllers/home_controller.rb
Overview
Generated by tsykvas_rails_template:install. Canonical example of the ‘endpoint` DSL: controllers stay one-liners, business logic lives in the operation, presentation in the component, authorization in the policy.
Instance Method Summary collapse
Instance Method Details
#index ⇒ Object
7 8 9 |
# File 'lib/generators/tsykvas_rails_template/install/templates/app/controllers/home_controller.rb', line 7 def index endpoint Home::Operation::Index, Home::Component::Index end |