Created
July 21, 2013 14:26
-
-
Save namusyaka/6048717 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Sandbox | |
class App < Padrino::Application | |
register Padrino::Helpers | |
register Padrino::Cache | |
enable :caching | |
get :test, "/test/:test_id", :cache => true do |test_id| | |
cache_key test_id | |
test_id | |
end | |
end | |
end | |
~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment