We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0f2cf6b commit 4511144Copy full SHA for 4511144
1 file changed
app/controllers/curations_controller.rb
@@ -11,7 +11,7 @@ def create
11
else
12
flash.now[:danger] = 'Curation tracking could not be registered'
13
end
14
- redirect_back(fallback_location: curation.name&.register)
+ redirect_back(fallback_location: @curation.name&.register)
15
16
17
# POST /curations/1
@@ -21,7 +21,7 @@ def update
21
22
23
24
25
26
27
private
0 commit comments