Sha256: de9ce804b6ad57ba8f8f23bd9c07c8eb484dcad8fed091a4ee3d77cfd758f7d2

Contents?: true

Size: 206 Bytes

Versions: 2

Compression:

Stored size: 206 Bytes

Contents

class BlogsController < ApplicationController
  def index
    respond_to do |format|
      format.html do
      end
      format.json do
        render :json => Blog.all.to_json
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
socialcast_shoulda_ext-0.1.4 test/rails3_root/app/controllers/blogs_controller.rb
socialcast_shoulda_ext-0.1.2 test/rails3_root/app/controllers/blogs_controller.rb