Sha256: 4423bd4bc9eac1ebe5aa2a8aeea007c96d58d3693802d06e3c38bc870dc32046

Contents?: true

Size: 337 Bytes

Versions: 6

Compression:

Stored size: 337 Bytes

Contents

Rails.application.routes.draw do
  unless respond_to?(:has_named_route?) && has_named_route?("ahoy_email_engine")
    mount AhoyEmail::Engine => "/ahoy"
  end
end

AhoyEmail::Engine.routes.draw do
  scope module: "ahoy" do
    resources :messages, only: [] do
      get :open, on: :member
      get :click, on: :member
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
ahoy_email-0.5.2 config/routes.rb
ahoy_email-0.5.1 config/routes.rb
ahoy_email-0.5.0 config/routes.rb
ahoy_email-0.4.0 config/routes.rb
ahoy_email-0.3.2 config/routes.rb
ahoy_email-0.3.1 config/routes.rb