Sha256: 8825524e3d1fffaa2b7bd50d455b29fed84008e6f68c00869e7f0949b40b5b41
Contents?: true
Size: 232 Bytes
Versions: 22
Compression:
Stored size: 232 Bytes
Contents
class PostsController < ApplicationController respond_to :html, :json def new @post = Post.new respond_with @post end def create @post = Post.create params[:post] respond_with @post end end
Version data entries
22 entries across 22 versions & 1 rubygems