Report abuse

class ArticlesController < ApplicationController

  def show
    response.etag = [:article, params[:id]]

    in_modified_scope do
      @article = Article.find(params[:id])
    end
  end
end