Class: Junebug::Controllers::List

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

Instance Method Summary collapse

Instance Method Details

#getObject



83
84
85
86
87
# File 'lib/junebug/controllers.rb', line 83

def get
  @page_title = "All Pages"
  @pages = Page.find :all, :order => 'title'
  render :list
end