Sha256: dacdc55f45c8c9e144d02a715c66bc6249d0e867637cfcc3b9c9fd0e993622a0

Contents?: true

Size: 634 Bytes

Versions: 5

Compression:

Stored size: 634 Bytes

Contents

Myreplicator::Engine.routes.draw do
  resources :exports
  root :to => "home#index"
  match '/export_errors', :to => "home#export_errors", :as => 'export_errors'
  match '/transport_errors', :to => "home#transport_errors", :as => 'transport_errors'
  match '/load_errors', :to => "home#load_errors", :as => 'load_errors'
  match '/kill/:id', :to => 'home#kill', :as => 'kill'
  match '/search', :to => "exports#search"
  
  resources :home do
    get :pause, :on => :collection
    get :resume, :on => :collection
  end
  
  resources :exports do
    get :search, :on => :collection
    member do
      get 'reload'
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
myreplicator-1.1.73 config/routes.rb
myreplicator-1.1.71 config/routes.rb
myreplicator-1.1.69 config/routes.rb
myreplicator-1.1.68 config/routes.rb
myreplicator-1.1.67 config/routes.rb