Permalink
Browse files

Add Last-Modified after

  • Loading branch information...
lsegal committed Aug 22, 2013
1 parent 7eb8b95 commit 7565c12064f55d3d80abf7033be28e2bf5af78f9
Showing with 3 additions and 1 deletion.
  1. +3 −1 app.rb
View
4 app.rb
@@ -248,7 +248,9 @@ def shorten_commit_link(commit)
# Always reset safe mode
before { YARD::Config.options[:safe_mode] = true }
- before { last_modified Time.now }
+
+ # Set Last-Modified on all requests
+ after { last_modified Time.now }
# Checkout and post commit hooks

0 comments on commit 7565c12

Please sign in to comment.