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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
29f03fb2
Commit
29f03fb2
authored
Dec 02, 2021
by
Siddharth Asthana
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Pass formats explicitly when rendering html
Changelog: other
parent
7d3e3a44
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
app/helpers/commits_helper.rb
app/helpers/commits_helper.rb
+6
-4
No files found.
app/helpers/commits_helper.rb
View file @
29f03fb2
...
...
@@ -27,10 +27,12 @@ module CommitsHelper
end
def
commit_to_html
(
commit
,
ref
,
project
)
render
'projects/commits/commit.html'
,
commit:
commit
,
ref:
ref
,
project:
project
render
partial:
'projects/commits/commit'
,
formats: :html
,
locals:
{
commit:
commit
,
ref:
ref
,
project:
project
}
end
# Breadcrumb links for a Project and, if applicable, a tree path
...
...
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