Sha256: 2de1190e0041c6f91fb2f8c1c299a8692b0f7c01875c0c3b9f4bc1a61501599a

Contents?: true

Size: 315 Bytes

Versions: 12

Compression:

Stored size: 315 Bytes

Contents

Rails.application.routes.draw do
  mount AhoyEmail::Engine => "/ahoy" if AhoyEmail.api
end

AhoyEmail::Engine.routes.draw do
  scope module: "ahoy" do
    get "click" => "messages#click"

    # legacy
    resources :messages, only: [] do
      get :open, on: :member
      get :click, on: :member
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
ahoy_email-2.4.0 config/routes.rb
ahoy_email-2.3.1 config/routes.rb
ahoy_email-2.3.0 config/routes.rb
ahoy_email-2.2.0 config/routes.rb
ahoy_email-2.1.3 config/routes.rb
ahoy_email-2.1.2 config/routes.rb
ahoy_email-2.1.1 config/routes.rb
ahoy_email-2.1.0 config/routes.rb
ahoy_email-2.0.3 config/routes.rb
ahoy_email-2.0.2 config/routes.rb
ahoy_email-2.0.1 config/routes.rb
ahoy_email-2.0.0 config/routes.rb