Sha256: f3ab97ccd54e487ad887717016a4679eed86ba6ab54be4fb73d395a6d83ba0cb

Contents?: true

Size: 275 Bytes

Versions: 3

Compression:

Stored size: 275 Bytes

Contents

require 'angular_rails_csrf/concern'

module AngularRailsCsrf
  class Railtie < ::Rails::Railtie
    initializer 'angular-rails-csrf' do |app|
      ActiveSupport.on_load(:action_controller) do
        include AngularRailsCsrf::Concern
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
angular_rails_csrf-2.1.1 lib/angular_rails_csrf/railtie.rb
angular_rails_csrf-2.1.0 lib/angular_rails_csrf/railtie.rb
angular_rails_csrf-2.0.0 lib/angular_rails_csrf/railtie.rb