config/routes.rb in spree_mail-0.40.0.3 vs config/routes.rb in spree_mail-0.40.0.4
- old
+ new
@@ -1,7 +1,7 @@
Rails.application.routes.draw do
- get "/email/:token/:id", :to => "emails#show", :as => :read_email
+ get "/email/:subscriber/:email", :to => "emails#show", :as => :read_email
resources :subscribers, :except => [:edit,:update] do
put :unsubscribe, :on => :member
end
\ No newline at end of file