config/routes.rb in udongo-7.5.0 vs config/routes.rb in udongo-7.5.1
- old
+ new
@@ -17,9 +17,12 @@
get 'search' => 'search#query'
get 'seo/slugify' => 'seo#slugify'
resources :sessions, only: [:new, :create, :destroy]
resources :admins
+ resources :search_terms, only: [:index] do
+ collection { delete '/', action: 'destroy_all' }
+ end
resources :users
resources :redirects, except: :show
resources :search_synonyms, except: :show
resources :tags do
concerns :translatable