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