BigW Consortium Gitlab

Commit dd8f090b by Dmitriy Zaporozhets

Fix hardcoded condition and unassigned vars

parent efa26760
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment