Sha256: 9bf0895d8a9c42cd6e674cd15d4ce0cac995919d3c5719d41347b809b38cf9f5

Contents?: true

Size: 382 Bytes

Versions: 5

Compression:

Stored size: 382 Bytes

Contents

module BootstrapsBootstraps
  class Railtie < Rails::Railtie
    initializer "bootstraps_bootstraps.configure_rails_initialization" do |application|
      #Disable the Rails default field_with_errors div wrapper.
      application.config.action_view.field_error_proc = Proc.new { |html_tag, instance| html_tag }
    end
  end
end

require 'bootstraps_bootstraps' if defined?(Rails)

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
bootstraps_bootstraps-2.0.3 railtie.rb
bootstraps_bootstraps-2.0.2 railtie.rb
bootstraps_bootstraps-2.0.1 railtie.rb
bootstraps_bootstraps-2.0.0 railtie.rb
bootstraps_bootstraps-0.0.1 railtie.rb