Sha256: 5884b7469abfe918edf56b25d3be3c77cd9c98a183a4717b3a161859e330e2de

Contents?: true

Size: 223 Bytes

Versions: 5

Compression:

Stored size: 223 Bytes

Contents

require 'sweet-alert-confirm/view_helpers'
module SweetAlertConfirm
  class Railtie < Rails::Railtie
    initializer 'sweet_alert_confirm.view_helpers' do
      ActionView::Base.send :include, ViewHelpers
    end
  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
sweet-alert-confirm-0.5.0 lib/sweet-alert-confirm/railtie.rb
sweet-alert-confirm-turbo-0.4.1 lib/sweet-alert-confirm/railtie.rb
sweet-alert-confirm-0.4.1 lib/sweet-alert-confirm/railtie.rb
sweet-alert-confirm-0.4.0 lib/sweet-alert-confirm/railtie.rb
sweet-alert-confirm-0.3.0 lib/sweet-alert-confirm/railtie.rb