Skip to content
Permalink
Browse files

Updated action HTTP caching guide

  • Loading branch information...
jodosha committed Nov 12, 2016
1 parent b2ee31d commit 97701329addad1af863c7d2cc3aa2718adde9ea8
Showing with 2 additions and 2 deletions.
  1. +2 −2 source/guides/actions/http-caching.md
@@ -72,7 +72,7 @@ module Web::Controllers::Users
include Web::Action
def call(params)
@user = UserRepository.find(params[:id])
@user = UserRepository.new.find(params[:id])
fresh etag: etag
# ...
@@ -109,7 +109,7 @@ module Web::Controllers::Users
include Web::Action
def call(params)
@user = UserRepository.find(params[:id])
@user = UserRepository.new.find(params[:id])
fresh last_modified: @user.updated_at
# ...

0 comments on commit 9770132

Please sign in to comment.
You can’t perform that action at this time.