@@ -30,9 +30,9 class RepositoriesController < ApplicationController | |||||
30 | @repository.fetch_changesets if Setting.autofetch_changesets? |
|
30 | @repository.fetch_changesets if Setting.autofetch_changesets? | |
31 | # get entries for the browse frame |
|
31 | # get entries for the browse frame | |
32 | @entries = @repository.entries('') |
|
32 | @entries = @repository.entries('') | |
33 | show_error and return unless @entries |
|
|||
34 | # latest changesets |
|
33 | # latest changesets | |
35 | @changesets = @repository.changesets.find(:all, :limit => 10, :order => "committed_on DESC") |
|
34 | @changesets = @repository.changesets.find(:all, :limit => 10, :order => "committed_on DESC") | |
|
35 | show_error and return unless @entries || @changesets.any? | |||
36 | end |
|
36 | end | |
37 |
|
37 | |||
38 | def browse |
|
38 | def browse |
General Comments 0
You need to be logged in to leave comments.
Login now