Renaming `@obj` to `@parent`
Refactoring `redirect_to_parent` method.