test/dummy/app/controllers/books_controller.rb in fastly-rails-0.1.0 vs test/dummy/app/controllers/books_controller.rb in fastly-rails-0.1.1
- old
+ new
@@ -1,6 +1,7 @@
class BooksController < ApplicationController
+ before_filter :set_cache_control_headers, only: [:index, :show]
before_filter :find_book, :only => [:show, :edit, :update, :destroy]
def index
@books = Book.all
end