Class: OrdinaryCms::RootController

Inherits:
ApplicationController show all
Includes:
SmartPagesRender
Defined in:
app/controllers/ordinary_cms/root_controller.rb

Instance Method Summary collapse

Methods included from SmartPagesRender

#smart_render

Instance Method Details

#showObject



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