fix error
This commit is contained in:
parent
c9b104ed6f
commit
15fc8f5992
2
Gemfile
2
Gemfile
|
@ -12,3 +12,5 @@ gemspec
|
||||||
|
|
||||||
# To use debugger
|
# To use debugger
|
||||||
# gem 'debugger'
|
# gem 'debugger'
|
||||||
|
gem 'dynamic_form'
|
||||||
|
gem 'simple_captcha2', require: 'simple_captcha'
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue