config/routes.rb in mailkick-0.1.4 vs config/routes.rb in mailkick-0.1.5
- old
+ new
@@ -1,6 +1,6 @@
Rails.application.routes.draw do
- mount Mailkick::Engine => "/mailkick"
+ mount Mailkick::Engine => "/mailkick" if Mailkick.mount
end
Mailkick::Engine.routes.draw do
resources :subscriptions, only: [:show] do
get :unsubscribe, on: :member