Skip to content
Snippets Groups Projects
Commit dd8f090b authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets
Browse files

Fix hardcoded condition and unassigned vars

parent efa26760
No related branches found
No related tags found
1 merge request!1Fix Links To Gitlab Cloud
Loading
Loading
@@ -19,6 +19,6 @@ class Public::ProjectsController < ApplicationController
@recent_tags = @repository.tags.first(10)
 
@commit = @repository.commit(params[:ref])
@tree = Tree.new(@repository, @commit.id, @ref, @path)
@tree = Tree.new(@repository, @commit.id)
end
end
- if false#tree.readme
- if tree.readme
= render "projects/tree/readme", readme: tree.readme
- else
.alert
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment