config/routes.rb in alchemy_crm-2.0.1 vs config/routes.rb in alchemy_crm-2.0.2

- old
+ new

@@ -1,71 +1,71 @@ AlchemyCrm::Engine.routes.draw do - match '/recipients/:h/reads' => 'recipients#reads', - :as => 'recipient_reads' - - match '/recipients/:h/reacts' => 'recipients#reacts', - :as => 'recipient_reacts' - - match '/subscriptions/:token/destroy/:newsletter_id' => 'subscriptions#destroy', - :as => 'destroy_subscription' - - match '/admin/elements/teasables' => 'admin/elements#teasables', - :as => 'teasable_elements' - - match '/admin/elements/teasables' => 'admin/elements#teasables', - :as => 'teasable_elements' + match '/recipients/:h/reads' => 'recipients#reads', + :as => 'recipient_reads' - match '/contacts/:token/verify' => 'contacts#verify', - :as => 'verify_contact' + match '/recipients/:h/reacts' => 'recipients#reacts', + :as => 'recipient_reacts' - match '/contacts/:token/disable' => 'contacts#disable', - :as => 'disable_contact' + match '/subscriptions/:token/destroy/:newsletter_id' => 'subscriptions#destroy', + :as => 'destroy_subscription' - match '/mailings/:m/show/:r' => 'mailings#show', - :as => 'show_mailing' + match '/admin/elements/teasables' => 'admin/elements#teasables', + :as => 'teasable_elements' - resources :mailings, :only => [:show] + match '/admin/elements/teasables' => 'admin/elements#teasables', + :as => 'teasable_elements' - resources :contacts do - collection do - post :signup, :signout - end - end + match '/contacts/:token/verify' => 'contacts#verify', + :as => 'verify_contact' - resources :subscriptions do - collection do - post :overview - end - end + match '/contacts/:token/disable' => 'contacts#disable', + :as => 'disable_contact' - namespace :admin do + match '/mailings/:m/show/:r' => 'mailings#show', + :as => 'show_mailing' - resources :contacts do - collection do - get :import - get :autocomplete_tag_list - post :import - end - member { get :export } - end + resources :mailings, :only => [:show] - resources :contact_groups do - collection { get :add_filter } - end + resources :contacts do + collection do + post :signup, :signout + end + end - resources :tags, :newsletters + resources :subscriptions do + collection do + post :overview + end + end - resources :deliveries + namespace :admin do - resources :mailings do - resources :deliveries - collection { get :signout } - member do - get :copy - get :edit_content - end - end + resources :contacts do + collection do + get :import + get :autocomplete_tag_list + post :import + end + member { get :export } + end - end + resources :contact_groups do + collection { get :add_filter } + end + + resources :tags, :newsletters + + resources :deliveries + + resources :mailings do + resources :deliveries + collection { get :signout } + member do + get :copy + get :edit_content + end + end + + end end