diff options
author | Guido Günther <agx@sigxcpu.org> | 2016-08-10 20:30:42 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2016-08-10 20:41:05 +0200 |
commit | 74e39b8ffaeea5ff360e7290a0a90e4e967e46fc (patch) | |
tree | 572168a3e007bb95731689d0fbaa709d368b101f /config |
Diffstat (limited to 'config')
-rw-r--r-- | config/routes.rb | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb new file mode 100644 index 0000000..4a37acf --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,9 @@ +Rails.application.routes.draw do + constraints(:id => /[^\/]+/) do + resources :hosts do + member do + get 'parameters', to: 'foreman_params_tab/hosts#parameters' + end + end + end +end |