Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
iv
gitlab-ce
Commits
5a5d214d
Commit
5a5d214d
authored
12 years ago
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused render_full_content filter
parent
a1e68a91
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
9 deletions
+0
-9
app/controllers/application_controller.rb
app/controllers/application_controller.rb
+0
-4
app/controllers/commits_controller.rb
app/controllers/commits_controller.rb
+0
-1
app/controllers/protected_branches_controller.rb
app/controllers/protected_branches_controller.rb
+0
-1
app/controllers/refs_controller.rb
app/controllers/refs_controller.rb
+0
-1
app/controllers/repositories_controller.rb
app/controllers/repositories_controller.rb
+0
-1
app/controllers/snippets_controller.rb
app/controllers/snippets_controller.rb
+0
-1
No files found.
app/controllers/application_controller.rb
View file @
5a5d214d
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
app/controllers/commits_controller.rb
View file @
5a5d214d
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
app/controllers/protected_branches_controller.rb
View file @
5a5d214d
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
app/controllers/refs_controller.rb
View file @
5a5d214d
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
app/controllers/repositories_controller.rb
View file @
5a5d214d
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
app/controllers/snippets_controller.rb
View file @
5a5d214d
...
...
@@ -55,7 +55,6 @@ class SnippetsController < ApplicationController
def
show
@note
=
@project
.
notes
.
new
(
noteable:
@snippet
)
render_full_content
end
def
destroy
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment