Sha256: 1bd7bcf64c95695a0fd00fc3a40da6ea7151e0feba87f47e119136c4525c3d08

Contents?: true

Size: 329 Bytes

Versions: 14

Compression:

Stored size: 329 Bytes

Contents

Rails.application.routes.draw do
  unless respond_to?(:has_named_route?) && has_named_route?("mailkick")
    mount Mailkick::Engine => "/mailkick" if Mailkick.mount
  end
end

Mailkick::Engine.routes.draw do
  resources :subscriptions, only: [:show] do
    get :unsubscribe, on: :member
    get :subscribe, on: :member
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
mailkick-1.2.2 config/routes.rb
mailkick-1.2.1 config/routes.rb
mailkick-1.2.0 config/routes.rb
mailkick-1.1.2 config/routes.rb
mailkick-1.1.1 config/routes.rb
mailkick-1.1.0 config/routes.rb
mailkick-1.0.1 config/routes.rb
mailkick-1.0.0 config/routes.rb
mailkick-0.4.3 config/routes.rb
mailkick-0.4.2 config/routes.rb
mailkick-0.4.1 config/routes.rb
mailkick-0.4.0 config/routes.rb
mailkick-0.3.1 config/routes.rb
mailkick-0.3.0 config/routes.rb