Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 11 lines (9 sloc) 0.191 kb
a4e0158e »
2008-03-16 barefoot examples
1 class PostController < ApplicationController
2 before_filter :set_top_posts
3
4 def index
5 @posts = Post.find(:all)
6 end
7
8 def set_top_posts
9 @top_posts = Post.find_top_posts
10 end
11 end
Something went wrong with that request. Please try again.