Sha256: a51e63da7c035310240ed9f7d5122627afd525ae7bed038c7c68463f12f9441b

Contents?: true

Size: 788 Bytes

Versions: 7

Compression:

Stored size: 788 Bytes

Contents

KPM::Engine.routes.draw do

  root to: 'nodes_info#index'

  resources :nodes_info, :only => [:index]
  resources :plugins, :only => [:index]

  scope '/nodes_info' do
    match '/plugin/install' => 'nodes_info#install_plugin', :via => :post, :as => 'plugin_install'
    match '/plugin/install_from_fs' => 'nodes_info#install_plugin_from_fs', :via => :post, :as => 'plugin_install_from_fs'
    match '/plugin/uninstall' => 'nodes_info#uninstall_plugin', :via => :post, :as => 'plugin_uninstall'
    match '/plugin/start' => 'nodes_info#start_plugin', :via => :post, :as => 'plugin_start'
    match '/plugin/stop' => 'nodes_info#stop_plugin', :via => :post, :as => 'plugin_stop'
    match '/plugin/restart' => 'nodes_info#restart_plugin', :via => :post, :as => 'plugin_restart'
  end

end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
killbill-kpm-ui-1.0.2 config/routes.rb
killbill-kpm-ui-1.0.1 config/routes.rb
killbill-kpm-ui-1.0.0 config/routes.rb
killbill-kpm-0.3.0 config/routes.rb
killbill-kpm-0.2.0 config/routes.rb
killbill-kpm-0.1.0 config/routes.rb
killbill-kpm-0.0.1 config/routes.rb