If there's a @project in repositories#writable_by, use that to find the
authorJohan Sørensen <johan@johansorensen.com>
Thu, 12 Feb 2009 15:46:51 +0000 (16:46 +0100)
committerJohan Sørensen <johan@johansorensen.com>
Wed, 22 Apr 2009 12:05:25 +0000 (14:05 +0200)
commit6b32f1d6b19fa3a0353d9cc030d53128f489352c
tree3187a70e6f472bb31cfa81c15bffa7234e58e0fa
parent0ad18bd1ac37cdaa2a185de950347976d8da92ba
If there's a @project in repositories#writable_by, use that to find the
repository, likewise show the push/pull urls as being the project if it's a
mainline repository
app/controllers/repositories_controller.rb
app/models/repository.rb
spec/controllers/repositories_controller_spec.rb
spec/models/repository_spec.rb