Merge pull request #1059 from vipulnsward/fix_method_typo

`fake_success_reponse` => `fake_success_response`
This commit is contained in:
Sam 2013-06-20 18:23:46 -07:00
commit 9778bfb749
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,