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