Sha256: 2f457b70bf0503e7aeef90da066c31f177843aadc35bbd8f439d03b1729d5531

Contents?: true

Size: 265 Bytes

Versions: 6

Compression:

Stored size: 265 Bytes

Contents

Rails.application.routes.draw do
  mount AhoyEmail::Engine => "/ahoy" if AhoyEmail.api
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-1.1.1 config/routes.rb
ahoy_email-1.1.0 config/routes.rb
ahoy_email-1.0.3 config/routes.rb
ahoy_email-1.0.2 config/routes.rb
ahoy_email-1.0.1 config/routes.rb
ahoy_email-1.0.0 config/routes.rb