Class: Cosmo::Web::Controllers::Actions
- Inherits:
-
Application
- Object
- Application
- Cosmo::Web::Controllers::Actions
- Defined in:
- lib/cosmo/web/controllers/actions.rb
Constant Summary
Constants included from Renderer
Renderer::ASSETS_ROOT, Renderer::VIEWS_ROOT
Instance Method Summary collapse
Methods inherited from Application
#content_for, #hx_request?, #initialize, #params, #path, #render
Methods included from Renderer
#no_content, #not_found, #ok, #redirect_to, #serve, #url_for
Constructor Details
This class inherits a constructor from Cosmo::Web::Controllers::Application
Instance Method Details
#index ⇒ Object
9 10 11 12 |
# File 'lib/cosmo/web/controllers/actions.rb', line 9 def index content_for :title, "Actions" ok render("actions/index", layout: true) end |