summaryrefslogtreecommitdiffstats
path: root/app/controllers/blobs_controller.rb
diff options
context:
space:
mode:
authorJohan Sørensen <johan@johansorensen.com>2009-03-16 14:19:49 +0100
committerJohan Sørensen <johan@johansorensen.com>2009-04-22 15:16:35 +0200
commit3ff8093b3f3b2d9201ec884ee518cded6e931348 (patch)
treef3d94779f6d240c39afe9b16c0fd40d6b9f92729 /app/controllers/blobs_controller.rb
parent1d1b7e451e900572a91e8a695a0f0de89b16567f (diff)
downloadgitorious-mainline-outdated-3ff8093b3f3b2d9201ec884ee518cded6e931348.zip
gitorious-mainline-outdated-3ff8093b3f3b2d9201ec884ee518cded6e931348.tar.gz
gitorious-mainline-outdated-3ff8093b3f3b2d9201ec884ee518cded6e931348.tar.bz2
Rename install_site_before_filters to renders_in_site_specific_context and
introduce a renders_in_global_context controller class method as well. This lets us control in the Site context in which specific actions or controllers as a whole are rendered in.
Diffstat (limited to 'app/controllers/blobs_controller.rb')
-rw-r--r--app/controllers/blobs_controller.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/controllers/blobs_controller.rb b/app/controllers/blobs_controller.rb
index 31c8784..b8d0e56 100644
--- a/app/controllers/blobs_controller.rb
+++ b/app/controllers/blobs_controller.rb
@@ -18,7 +18,7 @@
class BlobsController < ApplicationController
before_filter :find_project_and_repository
before_filter :check_repository_for_commits
- install_site_before_filters
+ renders_in_site_specific_context
def show
@git = @repository.git