add a specific require. hopefully helping #1601

This commit is contained in:
Thomas Reynolds 2015-10-17 14:06:50 -07:00
parent 58e794645b
commit db1e8b8611

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)