3686: Support sharing pane in repository show page.
authorRadhika Chippada <radhika@curoverse.com>
Wed, 14 Jan 2015 16:10:27 +0000 (11:10 -0500)
committerRadhika Chippada <radhika@curoverse.com>
Wed, 14 Jan 2015 16:10:27 +0000 (11:10 -0500)
commit752b9167416a5c8b64bef4946fbc15939b4bfe75
tree741a946ceb5dd0e0866494e7e08c40c703107f57
parent138a4b0a5de177faede5255841a5c6fca06b31f4
3686: Support sharing pane in repository show page.
Refactor current project sharing work into application area and reuse it for sharing repositories.
Refactor methods used by tests into helper and reuse in repository sharing tests.
apps/workbench/app/controllers/application_controller.rb
apps/workbench/app/controllers/projects_controller.rb
apps/workbench/app/controllers/repositories_controller.rb
apps/workbench/app/views/application/_show_sharing.html.erb [moved from apps/workbench/app/views/projects/_show_sharing.html.erb with 88% similarity]
apps/workbench/config/routes.rb
apps/workbench/test/controllers/projects_controller_test.rb
apps/workbench/test/controllers/repositories_controller_test.rb
apps/workbench/test/helpers/share_object_helper.rb [new file with mode: 0644]
apps/workbench/test/integration/projects_test.rb
apps/workbench/test/integration/repositories_test.rb [new file with mode: 0644]