fix error

This commit is contained in:
rulingcom 2021-11-25 03:37:23 +00:00
parent c9b104ed6f
commit 15fc8f5992
2 changed files with 4 additions and 2 deletions

View File

@ -12,3 +12,5 @@ gemspec
# To use debugger # To use debugger
# gem 'debugger' # gem 'debugger'
gem 'dynamic_form'
gem 'simple_captcha2', require: 'simple_captcha'

View File

@ -1,7 +1,7 @@
class NkuhtDonatesController < ApplicationController class NkuhtDonatesController < ApplicationController
include ApplicationHelper include ApplicationHelper
require 'simple_captcha'
include SimpleCaptcha::ControllerHelpers include SimpleCaptcha::ControllerHelpers
def index def index
@ -211,4 +211,4 @@ class NkuhtDonatesController < ApplicationController
params.require(:nkuht_donate_main).permit! params.require(:nkuht_donate_main).permit!
end end
end end