Sha256: 7ee5251bb82dcea5d24c48ce9f58ee06f4d6e4a26018efcee705fcdef6f8d053
Contents?: true
Size: 666 Bytes
Versions: 10
Compression:
Stored size: 666 Bytes
Contents
require 'padrino-core/support_lite' require 'cgi' Dir[File.dirname(__FILE__) + '/padrino-helpers/**/*.rb'].each {|file| require file } # Load our locales I18n.load_path += Dir["#{File.dirname(__FILE__)}/padrino-helpers/locale/*.yml"] module Padrino module Helpers def self.registered(app) app.set :default_builder, 'StandardFormBuilder' app.helpers Padrino::Helpers::OutputHelpers app.helpers Padrino::Helpers::TagHelpers app.helpers Padrino::Helpers::AssetTagHelpers app.helpers Padrino::Helpers::FormHelpers app.helpers Padrino::Helpers::FormatHelpers app.helpers Padrino::Helpers::RenderHelpers end end end
Version data entries
10 entries across 10 versions & 1 rubygems