lib/yandex_captcha/helpers/sinatra.rb in yandex_captcha-0.4.3.1 vs lib/yandex_captcha/helpers/sinatra.rb in yandex_captcha-0.4.3.3
- old
+ new
@@ -1,8 +1,7 @@
module YandexCaptcha
module Helpers
module Sinatra
-
def captcha_tags(options = {})
template = settings.captcha_ajax_template.to_s.to_sym
if options[:ajax]
render(current_engine, template, {layout: false}).to_s.html_safe
else