one word tags, fix captcha two word mention

This commit is contained in:
Kyle Drake 2014-07-21 15:19:15 -05:00
parent 9cedbd086d
commit ba840423a6
5 changed files with 10 additions and 10 deletions

2
app.rb
View file

@ -374,7 +374,7 @@ post '/create' do
session[:id] = @site.id
redirect '/'
else
@site.errors.add :captcha, 'You must type in the two words correctly! Try again.' if !recaptcha_is_valid
@site.errors.add :captcha, 'You must type in the captcha correctly! Try again.' if !recaptcha_is_valid
erb :'/new'
end