wouldn't assigning `@parent` within the function just make `@parent = nil` which, could be handled in the action