diff --git a/Gemfile b/Gemfile index bf7f0bd..d30988f 100644 --- a/Gemfile +++ b/Gemfile @@ -12,3 +12,5 @@ gemspec # To use debugger # gem 'debugger' +gem 'dynamic_form' +gem 'simple_captcha2', require: 'simple_captcha' diff --git a/app/controllers/nkuht_donates_controller.rb b/app/controllers/nkuht_donates_controller.rb index ac08553..bb48b68 100644 --- a/app/controllers/nkuht_donates_controller.rb +++ b/app/controllers/nkuht_donates_controller.rb @@ -1,7 +1,7 @@ class NkuhtDonatesController < ApplicationController include ApplicationHelper - + require 'simple_captcha' include SimpleCaptcha::ControllerHelpers def index @@ -211,4 +211,4 @@ class NkuhtDonatesController < ApplicationController params.require(:nkuht_donate_main).permit! end -end \ No newline at end of file +end