lib/yandex_captcha/engine.rb in yandex_captcha-0.4.3.6 vs lib/yandex_captcha/engine.rb in yandex_captcha-0.4.3.7
- old
+ new
@@ -1,7 +1,8 @@
module YandexCaptcha
class Engine < Rails::Engine
isolate_namespace YandexCaptcha
+ engine_name 'yandex_captcha'
if Rails.version >= '3.1'
initializer :assets do |app|
app.config.assets.precompile += %w( yandex_captcha/captcha.js yandex_captcha/captcha.css yandex_captcha/loading.gif )
end