Sha256: 507d838207c16a6bd2d417aceffe01976506a41cf568e102351e5a84917179ae
Contents?: true
Size: 925 Bytes
Versions: 6
Compression:
Stored size: 925 Bytes
Contents
# frozen_string_literal: true Blacklight::Engine.routes.draw do get "search_history", :to => "search_history#index", :as => "search_history" delete "search_history/clear", :to => "search_history#clear", :as => "clear_search_history" delete "saved_searches/clear", :to => "saved_searches#clear", :as => "clear_saved_searches" get "saved_searches", :to => "saved_searches#index", :as => "saved_searches" put "saved_searches/save/:id", :to => "saved_searches#save", :as => "save_search" delete "saved_searches/forget/:id", :to => "saved_searches#forget", :as => "forget_search" post "saved_searches/forget/:id", :to => "saved_searches#forget" post "/catalog/:id/track", to: 'catalog#track', as: 'track_search_context', constraints: { id: Blacklight::Engine.config.routes.identifier_constraint } resources :suggest, only: :index, defaults: { format: 'json' } end
Version data entries
6 entries across 6 versions & 1 rubygems