OSDN Git Service

Refactor abilities. Added ProjectUpdate context. Fixed few bugs with namespaces
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Thu, 29 Nov 2012 04:29:11 +0000 (07:29 +0300)
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
Thu, 29 Nov 2012 10:39:03 +0000 (12:39 +0200)
commiteb1004f7890d25a86beb0ca0a7eca802d9fce665
tree94cb713c0628542e646aad323be4d88fb1c356e3
parenta1ffc673b95f4d0e2316d461f1364fa1ee08e9d2
Refactor abilities. Added ProjectUpdate context. Fixed few bugs with namespaces
18 files changed:
app/contexts/project_update_context.rb [new file with mode: 0644]
app/controllers/admin/projects_controller.rb
app/controllers/application_controller.rb
app/controllers/dashboard_controller.rb
app/controllers/groups_controller.rb
app/controllers/project_resource_controller.rb
app/controllers/projects_controller.rb
app/models/ability.rb
app/models/group.rb
app/models/namespace.rb
app/models/project.rb
app/models/user.rb
app/views/admin/projects/_form.html.haml
app/views/errors/access_denied.html.haml
app/views/groups/show.html.haml
db/fixtures/development/010_groups.rb [new file with mode: 0644]
spec/models/group_spec.rb
spec/models/namespace_spec.rb