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