Sha256: fd05192512d38bd249cb750cc2854ea7ed4ad93882a508724b1bed488b8a693b
Contents?: true
Size: 196 Bytes
Versions: 67
Compression:
Stored size: 196 Bytes
Contents
class PostsController < ApplicationController respond_to :json, :xml, :html def index @posts = Post.all(:order => "id ASC") end def show @post = Post.find(params[:id]) end end
Version data entries
67 entries across 58 versions & 2 rubygems