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