Skip to content

Commit 4bbaa34

Browse files
authored
Merge pull request #3515 from DMPRoadmap/aaron/fix-confirm-merge-partial
Fix rendering of `confirm_merge` partial
2 parents 36ef21c + 989e3ea commit 4bbaa34

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Changelog
22

33
- Fix failing eslint workflow / upgrade `actions/checkout` & `actions/setup-node` to v3 [#3503](https://github.com/DMPRoadmap/roadmap/pull/3503)
4+
- Fix rendering of `confirm_merge` partial [#3515](https://github.com/DMPRoadmap/roadmap/pull/3515)
45

56
## v5.0.0
67

app/controllers/super_admin/users_controller.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ def search
9191
# WHAT TO RETURN!?!?!
9292
if @users.present? # found a user, or Users, submit for merge
9393
render json: {
94-
form: render_to_string(partial: 'super_admin/users/confirm_merge.html.erb')
94+
form: render_to_string(partial: 'confirm_merge')
9595
}
9696
else # NO USER, re-render w/error?
9797
flash.now[:alert] = 'Unable to find user'

0 commit comments

Comments
 (0)