diff --git a/app/views/layouts/_signupLoginModal.html.erb b/app/views/layouts/_signupLoginModal.html.erb index 725010488bb..eccb09c6c7e 100644 --- a/app/views/layouts/_signupLoginModal.html.erb +++ b/app/views/layouts/_signupLoginModal.html.erb @@ -12,7 +12,7 @@
- <%= render partial: "users/create_form" %> + <%= render partial: "users/create_form" , locals: {caller: "modal"} %>
diff --git a/app/views/users/_create_form.html.erb b/app/views/users/_create_form.html.erb index 78d613d5b70..4e62199ef87 100644 --- a/app/views/users/_create_form.html.erb +++ b/app/views/users/_create_form.html.erb @@ -85,7 +85,7 @@ <% else %>
- <%= render partial: 'users/spamaway' %> + <%= render partial: 'users/spamaway', locals: {caller: caller } %>