summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Speicher <rspeicher@gmail.com>2012-09-20 14:43:38 -0400
committerRobert Speicher <rspeicher@gmail.com>2012-09-26 16:32:22 -0400
commit5a5d214de499b678802ac12c5c6cbe583a85ae36 (patch)
tree78b3d43538d441780c08014275f23e25fe4e8423
parenta1e68a91205186287f21fb5fd1669acebcd7e79e (diff)
downloadgitlab-ce-5a5d214de499b678802ac12c5c6cbe583a85ae36.tar.gz
Remove unused render_full_content filter
-rw-r--r--app/controllers/application_controller.rb4
-rw-r--r--app/controllers/commits_controller.rb1
-rw-r--r--app/controllers/protected_branches_controller.rb1
-rw-r--r--app/controllers/refs_controller.rb1
-rw-r--r--app/controllers/repositories_controller.rb1
-rw-r--r--app/controllers/snippets_controller.rb1
6 files changed, 0 insertions, 9 deletions
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
index 5ac5c639f39..a3eb3e3e431 100644
--- a/app/controllers/application_controller.rb
+++ b/app/controllers/application_controller.rb
@@ -126,10 +126,6 @@ class ApplicationController < ActionController::Base
response.headers["Expires"] = "Fri, 01 Jan 1990 00:00:00 GMT"
end
- def render_full_content
- @full_content = true
- end
-
def dev_tools
Rack::MiniProfiler.authorize_request
end
diff --git a/app/controllers/commits_controller.rb b/app/controllers/commits_controller.rb
index 83404bdc2db..712b842c66d 100644
--- a/app/controllers/commits_controller.rb
+++ b/app/controllers/commits_controller.rb
@@ -10,7 +10,6 @@ class CommitsController < ApplicationController
before_filter :authorize_code_access!
before_filter :require_non_empty_project
before_filter :load_refs, only: :index # load @branch, @tag & @ref
- before_filter :render_full_content
def index
@repo = project.repo
diff --git a/app/controllers/protected_branches_controller.rb b/app/controllers/protected_branches_controller.rb
index 78c9c9effa6..2556f0954d4 100644
--- a/app/controllers/protected_branches_controller.rb
+++ b/app/controllers/protected_branches_controller.rb
@@ -7,7 +7,6 @@ class ProtectedBranchesController < ApplicationController
before_filter :require_non_empty_project
before_filter :authorize_admin_project!, only: [:destroy, :create]
- before_filter :render_full_content
layout "project"
diff --git a/app/controllers/refs_controller.rb b/app/controllers/refs_controller.rb
index f9cd4734d50..5e36be3038a 100644
--- a/app/controllers/refs_controller.rb
+++ b/app/controllers/refs_controller.rb
@@ -10,7 +10,6 @@ class RefsController < ApplicationController
before_filter :ref
before_filter :define_tree_vars, only: [:blob, :logs_tree]
- before_filter :render_full_content
layout "project"
diff --git a/app/controllers/repositories_controller.rb b/app/controllers/repositories_controller.rb
index cd20677e1ad..583edf8ead9 100644
--- a/app/controllers/repositories_controller.rb
+++ b/app/controllers/repositories_controller.rb
@@ -6,7 +6,6 @@ class RepositoriesController < ApplicationController
before_filter :authorize_read_project!
before_filter :authorize_code_access!
before_filter :require_non_empty_project
- before_filter :render_full_content
layout "project"
diff --git a/app/controllers/snippets_controller.rb b/app/controllers/snippets_controller.rb
index b00c9283694..a38fd52f262 100644
--- a/app/controllers/snippets_controller.rb
+++ b/app/controllers/snippets_controller.rb
@@ -55,7 +55,6 @@ class SnippetsController < ApplicationController
def show
@note = @project.notes.new(noteable: @snippet)
- render_full_content
end
def destroy