config/routes.rb in killbill-kpm-ui-2.0.1 vs config/routes.rb in killbill-kpm-ui-2.0.2
- old
+ new
@@ -1,11 +1,11 @@
# frozen_string_literal: true
KPM::Engine.routes.draw do
root to: 'nodes_info#index'
- resources :nodes_info, :only => [:index]
- resources :plugins, :only => [:index]
+ resources :nodes_info, only: [:index]
+ resources :plugins, only: [:index]
scope '/nodes_info' do
match '/refresh' => 'nodes_info#refresh', :via => :get, :as => 'nodes_info_refresh'
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'