fixed user#move_contact. from/to aspects were incorrectly ordered in method call in aspect_controller.
This commit is contained in:
parent
6357cd3b95
commit
6d63a5d3c5
1 changed files with 1 additions and 1 deletions
|
|
@ -98,7 +98,7 @@ class AspectsController < ApplicationController
|
|||
@from_aspect = current_user.aspects.find(params[:from])
|
||||
@to_aspect = current_user.aspects.find(params[:to][:to])
|
||||
|
||||
unless current_user.move_contact( @person, @from_aspect, @to_aspect)
|
||||
unless current_user.move_contact( @person, @to_aspect, @from_aspect)
|
||||
flash[:error] = I18n.t 'aspects.move_contact.error',:inspect => params.inspect
|
||||
end
|
||||
if aspect = current_user.aspect_by_id(params[:to][:to])
|
||||
|
|
|
|||
Loading…
Reference in a new issue