Class: Junebug::Controllers::List

Inherits:
R
  • Object
show all
Defined in:
lib/junebug/controllers.rb

Instance Method Summary collapse

Instance Method Details

#getObject



77
78
79
80
81
# File 'lib/junebug/controllers.rb', line 77

def get
  @page_title = "#{Junebug.config['startpage']}: All Pages"
  @pages = Page.find :all, :order => 'title'
  render :list
end