config/routes.rb in ahoy_email-1.1.1 vs config/routes.rb in ahoy_email-2.0.0
- old
+ new
@@ -2,9 +2,12 @@
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