Prevent removal group creator from the group
authorMarcin Kulik <m@ku1ik.com>
Tue, 4 Feb 2014 14:16:08 +0000 (15:16 +0100)
committerMarcin Kulik <m@ku1ik.com>
Tue, 4 Feb 2014 14:16:08 +0000 (15:16 +0100)
commit812872448af162b6ee0c0b7d187aefca4aefa071
tree9fca52a3a000ff99b8ae2d474955efdafb89c632
parent8dc47b152e500f6e336cd55e3efbf9a90ec7f94f
Prevent removal group creator from the group
app/commands/destroy_membership_command.rb [new file with mode: 0644]
app/controllers/memberships_controller.rb
app/pre_conditions/non_team_creator_required.rb [new file with mode: 0644]
app/use_cases/destroy_membership.rb [new file with mode: 0644]
config/locales/en.rb
config/locales/fr.rb
config/locales/pt-BR.rb
test/micro/commands/destroy_membership_command_test.rb [new file with mode: 0644]
test/unit/use_cases/destroy_membership_test.rb [new file with mode: 0644]