Don't perform fragment caching with private repositories on
authorMarius Mathiesen <marius@gitorious.org>
Tue, 4 Sep 2012 11:34:16 +0000 (13:34 +0200)
committerMarius Mathiesen <marius@gitorious.org>
Tue, 4 Sep 2012 11:34:16 +0000 (13:34 +0200)
commitd55d31d2c8e5df95a5bb012cacb9b8f1dabad680
tree082c66f809e5ab66d3c6ca2fe8f6627bc6ad96a1
parente988474ddeea09476f7bef16b04a79a1cc71331e
Don't perform fragment caching with private repositories on

Add and use a cache helper that will only cache fragments when private
repositories are turned off. This resolves issue #132.
app/helpers/application_helper.rb
app/helpers/cache_in_private_helper.rb [new file with mode: 0644]
app/views/site/index.html.erb
test/functional/site_controller_test.rb
test/test_cache_store.rb [new file with mode: 0644]