# HG changeset patch # User edogawaconan # Date 1407142472 -32400 # Node ID cd1c3a28b89a63cf62322e62d598f646ee3deb41 # Parent 56382cb104dd76e308e6762abe459af111723785 Set correct expiration header. diff -r 56382cb104dd -r cd1c3a28b89a app/controllers/pastes_controller.rb --- a/app/controllers/pastes_controller.rb Mon Aug 04 17:05:16 2014 +0900 +++ b/app/controllers/pastes_controller.rb Mon Aug 04 17:54:32 2014 +0900 @@ -7,6 +7,7 @@ @paste = Paste.safe_find(params[:id]) return head :not_found unless @paste + expires_in 1.month, :public => true respond_to do |format| format.html { cache } format.txt { cache }