diff options
author | Johan Sørensen <johan@johansorensen.com> | 2009-03-03 13:58:06 +0100 |
---|---|---|
committer | Johan Sørensen <johan@johansorensen.com> | 2009-04-22 15:15:37 +0200 |
commit | 94672a0734355ddc13bece2394f8fae79c7bb0b1 (patch) | |
tree | e5372d1c77cc65c46d84808b7fb47b51704e155d /app/controllers/blobs_controller.rb | |
parent | 6d3c5da512a09aed7da8c6485f109276bc6c5006 (diff) | |
download | gitorious-mainline-outdated-94672a0734355ddc13bece2394f8fae79c7bb0b1.zip gitorious-mainline-outdated-94672a0734355ddc13bece2394f8fae79c7bb0b1.tar.gz gitorious-mainline-outdated-94672a0734355ddc13bece2394f8fae79c7bb0b1.tar.bz2 |
Redirect to the current_site's subdomain, if it has one and it's a GET request
Diffstat (limited to 'app/controllers/blobs_controller.rb')
-rw-r--r-- | app/controllers/blobs_controller.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/app/controllers/blobs_controller.rb b/app/controllers/blobs_controller.rb index 612183f..a2ae61c 100644 --- a/app/controllers/blobs_controller.rb +++ b/app/controllers/blobs_controller.rb @@ -18,6 +18,7 @@ class BlobsController < ApplicationController before_filter :find_project_and_repository before_filter :check_repository_for_commits + install_site_before_filters def show @git = @repository.git |