config/routes.rb in fat_free_crm-0.13.2 vs config/routes.rb in fat_free_crm-0.13.3
- old
+ new
@@ -30,12 +30,12 @@
collection do
get :advanced_search
post :filter
get :options
get :field_group
- post :auto_complete
- post :redraw
+ match :auto_complete
+ get :redraw
get :versions
end
member do
put :attach
post :discard
@@ -50,12 +50,12 @@
collection do
get :advanced_search
post :filter
get :options
get :field_group
- post :auto_complete
- post :redraw
+ match :auto_complete
+ get :redraw
get :versions
end
member do
put :attach
post :discard
@@ -70,12 +70,12 @@
collection do
get :advanced_search
post :filter
get :options
get :field_group
- post :auto_complete
- post :redraw
+ match :auto_complete
+ get :redraw
get :versions
end
member do
put :attach
post :discard
@@ -89,12 +89,12 @@
collection do
get :advanced_search
post :filter
get :options
get :field_group
- post :auto_complete
- post :redraw
+ match :auto_complete
+ get :redraw
get :versions
get :autocomplete_account_name
end
member do
get :convert
@@ -111,13 +111,13 @@
collection do
get :advanced_search
post :filter
get :options
get :field_group
- post :auto_complete
- post :redraw
- get :versions
+ match :auto_complete
+ get :redraw
+ get :versions
end
member do
put :attach
post :discard
post :subscribe
@@ -127,14 +127,15 @@
end
resources :tasks, :id => /\d+/ do
collection do
post :filter
- post :auto_complete
+ match :auto_complete
end
member do
put :complete
+ put :uncomplete
end
end
resources :users, :id => /\d+/, :except => [:index, :destroy] do
member do
@@ -143,21 +144,21 @@
put :upload_avatar
put :change_password
post :redraw
end
collection do
- post :auto_complete
get :opportunities_overview
+ match :auto_complete
end
end
namespace :admin do
resources :groups
resources :users do
collection do
- post :auto_complete
+ match :auto_complete
end
member do
get :confirm
put :suspend
put :reactivate
@@ -173,14 +174,14 @@
end
end
resources :fields do
collection do
- post :auto_complete
- get :options
- post :redraw
- post :sort
- get :subform
+ match :auto_complete
+ get :options
+ get :redraw
+ post :sort
+ get :subform
end
end
resources :tags, :except => [:show] do
member do