Commit 6364608d authored by Robert Speicher's avatar Robert Speicher
Browse files

Remove unused render_full_content filter

parent c7d79e09bb48
......@@ -126,10 +126,6 @@
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 @@
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 @@
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 @@
before_filter :ref
before_filter :define_tree_vars, only: [:blob, :logs_tree]
before_filter :render_full_content
layout "project"
......
......@@ -6,7 +6,6 @@
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 @@
def show
@note = @project.notes.new(noteable: @snippet)
render_full_content
end
def destroy
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment