Class: Schreihals::App
- Inherits:
-
Sinatra::Base
- Object
- Sinatra::Base
- Schreihals::App
- Defined in:
- lib/schreihals/app.rb
Instance Method Summary collapse
Instance Method Details
#cache_for(time) ⇒ Object
37 38 39 |
# File 'lib/schreihals/app.rb', line 37 def cache_for(time) cache_control :public, :must_revalidate, :max_age => time.to_i end |