Class: OrdinaryCms::RootController

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

Instance Method Summary collapse

Instance Method Details

#showObject



3
4
5
6
# File 'app/controllers/ordinary_cms/root_controller.rb', line 3

def show
  @page = Page.find_by root: true
  render 'ordinary_cms/pages/show'
end