config/routes.rb in postman_mta-0.1.7 vs config/routes.rb in postman_mta-0.1.8
- old
+ new
@@ -7,10 +7,11 @@
[:inbox, :sent, :spam, :trash].each do |folder|
match folder, on: :collection, via: :get
end
match :starred, on: :collection, via: :get, to: 'conversations#index'
+ match :search, on: :collection, via: :get
match :read, on: :collection, via: [:put, :patch]
match :unread, on: :collection, via: [:put, :patch]
match :move, on: :collection, via: [:put, :patch]
resources :labels, only: [:create, :destroy]
@@ -22,6 +23,7 @@
match :unread, on: :collection, via: :get
end
end
resources :routes, only: :index
+ resources :domains, only: :index
end