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