Sha256: 3188a4c716c900d79903fb8fb3818ecf5a32a66fa7f4785281966a8163ff46d8

Contents?: true

Size: 261 Bytes

Versions: 18

Compression:

Stored size: 261 Bytes

Contents

Rails.application.routes.draw do
  if Rails.application.config.stripe.auto_mount
    mount Stripe::Engine => Rails.application.config.stripe.endpoint
  end
end

Stripe::Engine.routes.draw do
  resource  :ping, only: :show
  resources :events, only: :create
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
stripe-rails-2.1.0 config/routes.rb
stripe-rails-2.0.0 config/routes.rb
stripe-rails-1.10.2 config/routes.rb
stripe-rails-2.0.0.pre config/routes.rb
stripe-rails-1.10.1 config/routes.rb
stripe-rails-1.10.0 config/routes.rb
stripe-rails-1.9.1 config/routes.rb
stripe-rails-1.9.0 config/routes.rb
stripe-rails-1.8.2 config/routes.rb
stripe-rails-1.8.1 config/routes.rb
stripe-rails-1.8.0 config/routes.rb
stripe-rails-1.7.2 config/routes.rb
stripe-rails-1.7.1 config/routes.rb
stripe-rails-1.7.0 config/routes.rb
stripe-rails-1.6.1 config/routes.rb
stripe-rails-1.6.0 config/routes.rb
stripe-rails-1.5.5 config/routes.rb
stripe-rails-1.5.4 config/routes.rb