add a specific require. hopefully helping #1601
This commit is contained in:
parent
58e794645b
commit
db1e8b8611
|
@ -1,10 +1,11 @@
|
|||
require 'padrino-helpers'
|
||||
require 'padrino-helpers/output_helpers'
|
||||
|
||||
# Don't fail on invalid locale, that's not what our current
|
||||
# users expect.
|
||||
::I18n.enforce_available_locales = false
|
||||
|
||||
class Padrino::Helpers::OutputHelpers::ErbHandler
|
||||
class ::Padrino::Helpers::OutputHelpers::ErbHandler
|
||||
# Force Erb capture not to use safebuffer
|
||||
# rubocop:disable UnderscorePrefixedVariableName
|
||||
def capture_from_template(*args, &block)
|
||||
|
|
Loading…
Reference in a new issue