Merge branch 'master' into simplify_controllers2
Conflicts: app/controllers/commits_controller.rb app/controllers/refs_controller.rb
This commit is contained in:
commit
e563e948bb
108 changed files with 1762 additions and 652 deletions
|
@ -3,18 +3,17 @@ class RepositoriesController < ProjectController
|
|||
before_filter :authorize_read_project!
|
||||
before_filter :authorize_code_access!
|
||||
before_filter :require_non_empty_project
|
||||
before_filter :render_full_content
|
||||
|
||||
def show
|
||||
@activities = @project.commits_with_refs(20)
|
||||
end
|
||||
|
||||
def branches
|
||||
@branches = @project.repo.heads.sort_by(&:name)
|
||||
@branches = @project.branches
|
||||
end
|
||||
|
||||
def tags
|
||||
@tags = @project.repo.tags.sort_by(&:name).reverse
|
||||
@tags = @project.tags
|
||||
end
|
||||
|
||||
def archive
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue