`fake_success_reponse` => `fake_success_response`

This commit is contained in:
Vipul A M 2013-06-21 01:17:35 +05:30
parent a546472775
commit 1884dc8d3f
1 changed files with 2 additions and 2 deletions

View File

@ -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,