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 ac932b3 commit 8514ff8Copy full SHA for 8514ff8
app/controllers/users_controller.rb
@@ -88,7 +88,7 @@ def generate_facilitator
88
if @user.facilitator.present?
89
redirect_to @user.facilitator and return
90
else
91
- @facilitator = FacilitatorFromUserService(user: @user).call
+ @facilitator = FacilitatorFromUserService.new(user: @user).call
92
if @facilitator.save
93
redirect_to @facilitator, notice: "Facilitator was successfully created for this user." and return
94
0 commit comments