Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

authorized takes a user, not a username

  • Loading branch information...
commit 8fc922c3d698c330121bd986e123d2c14fb845da 1 parent 35c8e81
@icefox authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  web/app/models/repository.rb
View
2  web/app/models/repository.rb
@@ -38,7 +38,7 @@ def location
end
def public
- return authorized(I18n.t('user.all'))
+ return authorized(User.find_by_username(I18n.t('user.all')))
end
def copy(other)
Please sign in to comment.
Something went wrong with that request. Please try again.