Commit 5a5d214de499b678802ac12c5c6cbe583a85ae36
1 parent
a1e68a91
Exists in
master
and in
4 other branches
Remove unused render_full_content filter
Showing
6 changed files
with
0 additions
and
9 deletions
Show diff stats
app/controllers/application_controller.rb
| ... | ... | @@ -126,10 +126,6 @@ class ApplicationController < ActionController::Base |
| 126 | 126 | response.headers["Expires"] = "Fri, 01 Jan 1990 00:00:00 GMT" |
| 127 | 127 | end |
| 128 | 128 | |
| 129 | - def render_full_content | |
| 130 | - @full_content = true | |
| 131 | - end | |
| 132 | - | |
| 133 | 129 | def dev_tools |
| 134 | 130 | Rack::MiniProfiler.authorize_request |
| 135 | 131 | end | ... | ... |
app/controllers/commits_controller.rb
| ... | ... | @@ -10,7 +10,6 @@ class CommitsController < ApplicationController |
| 10 | 10 | before_filter :authorize_code_access! |
| 11 | 11 | before_filter :require_non_empty_project |
| 12 | 12 | before_filter :load_refs, only: :index # load @branch, @tag & @ref |
| 13 | - before_filter :render_full_content | |
| 14 | 13 | |
| 15 | 14 | def index |
| 16 | 15 | @repo = project.repo | ... | ... |
app/controllers/protected_branches_controller.rb
app/controllers/refs_controller.rb
app/controllers/repositories_controller.rb