Remove unused render_full_content filter
This commit is contained in:
parent
a1e68a9120
commit
5a5d214de4
6 changed files with 0 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -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"
|
||||
|
||||
|
|
|
@ -55,7 +55,6 @@ class SnippetsController < ApplicationController
|
|||
|
||||
def show
|
||||
@note = @project.notes.new(noteable: @snippet)
|
||||
render_full_content
|
||||
end
|
||||
|
||||
def destroy
|
||||
|
|
Loading…
Reference in a new issue