Class: OrdinaryCms::RootController
- Inherits:
-
ApplicationController
- Object
- ActionController::Base
- ApplicationController
- OrdinaryCms::RootController
- Includes:
- SmartPagesRender
- Defined in:
- app/controllers/ordinary_cms/root_controller.rb
Instance Method Summary collapse
Methods included from SmartPagesRender
Instance Method Details
#show ⇒ Object
7 8 9 10 |
# File 'app/controllers/ordinary_cms/root_controller.rb', line 7 def show @page = Page.find_by root: true smart_render 'root' end |