add a specific require. hopefully helping #1601

v3-stable
Thomas Reynolds 2015-10-17 14:06:50 -07:00
parent 58e794645b
commit db1e8b8611
1 changed files with 2 additions and 1 deletions

View File

@ -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)