Class: CortexReaver::PageController

Inherits:
Controller
  • Object
show all
Defined in:
lib/cortex_reaver/controller/page.rb

Constant Summary collapse

MODEL =
Page

Instance Method Summary collapse

Instance Method Details

#indexObject



49
50
51
52
53
# File 'lib/cortex_reaver/controller/page.rb', line 49

def index
  @models = @pages = Page.select(:id, :name, :title)
  workflow 'New Page', rs(:new), :new, :page
  render_view :list
end