diff options
Diffstat (limited to 'app/models/repository.rb')
-rw-r--r-- | app/models/repository.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/models/repository.rb b/app/models/repository.rb index aad078c7d..00acbb540 100644 --- a/app/models/repository.rb +++ b/app/models/repository.rb @@ -112,10 +112,10 @@ class Repository < ActiveRecord::Base end def name - if is_default? - l(:field_repository_is_default) - elsif identifier.present? + if identifier.present? identifier + elsif is_default? + l(:field_repository_is_default) else scm_name end |