We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 59f1388 commit e81da41Copy full SHA for e81da41
app/controllers/manifestation_relationships_controller.rb
@@ -33,8 +33,10 @@ def new
33
redirect_to manifestations_url
34
nil
35
else
36
- @manifestation_relationship = ManifestationRelationship.new
37
- @manifestation_relationship.manifestation = @manifestation
+ @manifestation_relationship = ManifestationRelationship.new(
+ parent: @manifestation,
38
+ child: Manifestation.find(params[:child_id])
39
+ )
40
end
41
42
0 commit comments