config/routes.rb in postman_mta-0.2.0 vs config/routes.rb in postman_mta-0.2.1
- old
+ new
@@ -12,11 +12,11 @@
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]
+ resources :labels, only: [:create, :update, :destroy]
resources :tags, only: [:create, :destroy]
end
namespace :stats do
resources :messages, only: [] do
@@ -24,6 +24,7 @@
end
end
resources :routes, only: :index
resources :domains, only: :index
+ resources :labels, only: :index
end