Sha256: dd35fdf2e96e6d04158cb28bfa0f63ef340812b7191bc93aea974c8acd048a65

Contents?: true

Size: 686 Bytes

Versions: 17

Compression:

Stored size: 686 Bytes

Contents

DiscoApp::Engine.routes.draw do

  controller :webhooks do
    post 'webhooks' => :process_webhook, as: :webhooks
  end

  controller :charges do
    get 'charges/new' => :new, as: :new_charge
    post 'charges/create' => :create, as: :create_charge
    get 'charges/activate' => :activate, as: :activate_charge
  end

  controller :install do
    get 'install' => :install, as: :install
    get 'installing' => :installing, as: :installing
    get 'uninstalling' => :uninstalling, as: :uninstalling
  end

  # Make the embedded app frame emulator available in development.
  if Rails.env.development?
    controller :frame do
      get 'frame' => :frame, as: :frame
    end
  end

end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
disco_app-0.6.2 config/routes.rb
disco_app-0.6.3 config/routes.rb
disco_app-0.6.4 config/routes.rb
disco_app-0.6.5 config/routes.rb
disco_app-0.6.6 config/routes.rb
disco_app-0.6.7 config/routes.rb
disco_app-0.6.8 config/routes.rb
disco_app-0.6.9 config/routes.rb
disco_app-0.7.0 config/routes.rb
disco_app-0.7.1 config/routes.rb
disco_app-0.7.2 config/routes.rb
disco_app-0.8.0 config/routes.rb
disco_app-0.8.1 config/routes.rb
disco_app-0.8.2 config/routes.rb
disco_app-0.8.3 config/routes.rb
disco_app-0.8.4 config/routes.rb
disco_app-0.8.5 config/routes.rb