From 1884dc8d3f810c4aded0ec40f08fd840c82375dc Mon Sep 17 00:00:00 2001 From: Vipul A M Date: Fri, 21 Jun 2013 01:17:35 +0530 Subject: [PATCH] `fake_success_reponse` => `fake_success_response` --- app/controllers/users_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb index c74f3884061..8dc2bb7ba4a 100644 --- a/app/controllers/users_controller.rb +++ b/app/controllers/users_controller.rb @@ -146,7 +146,7 @@ class UsersController < ApplicationController end def create - return fake_success_reponse if suspicious? params + return fake_success_response if suspicious? params user = User.new_from_params(params) @@ -337,7 +337,7 @@ class UsersController < ApplicationController honeypot_or_challenge_fails?(params) || SiteSetting.invite_only? end - def fake_success_reponse + def fake_success_response render( json: { success: true,