Merge branch 'master' of github.com:evilmartians/rosa-build
This commit is contained in:
commit
31ee2662ec
|
@ -6,8 +6,7 @@ class Git::TreesController < Git::BaseController
|
||||||
|
|
||||||
@tree = @repository.tree(@treeish)
|
@tree = @repository.tree(@treeish)
|
||||||
|
|
||||||
# ???
|
@tree = @tree / @path if @path
|
||||||
# @tree = @tree / @path if @path
|
|
||||||
|
|
||||||
render :template => "git/repositories/show"
|
render :template => "git/repositories/show"
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,13 +3,13 @@
|
||||||
%h3 Tags:
|
%h3 Tags:
|
||||||
%ul
|
%ul
|
||||||
- @repository.tags.each do |tag|
|
- @repository.tags.each do |tag|
|
||||||
%li= link_to tag.name, tree_path(@platform.name, @project.name, tag.name)
|
%li= link_to tag.name, tree_path(@platform.name, @project.name, :treeish => tag.name)
|
||||||
|
|
||||||
.row.heads
|
.row.heads
|
||||||
%h3 Heads:
|
%h3 Heads:
|
||||||
%ul
|
%ul
|
||||||
- @repository.heads.each do |head|
|
- @repository.heads.each do |head|
|
||||||
%li= link_to head.name, tree_path(@platform.name, @project.name, head.name)
|
%li= link_to head.name, tree_path(@platform.name, @project.name, :treeish => head.name)
|
||||||
|
|
||||||
%table
|
%table
|
||||||
%thead
|
%thead
|
||||||
|
|
Loading…
Reference in New Issue