aboutsummaryrefslogtreecommitdiff
path: root/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'config/routes.rb')
-rw-r--r--config/routes.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/config/routes.rb b/config/routes.rb
index ff8114c..eeae969 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -32,6 +32,8 @@ ActionController::Routing::Routes.draw do |map|
:only => [:index]
map.resources :events, :path_prefix => '/sys', :name_prefix => 'sys_',
:only => [:index], :collection => { :fifo => [:get, :post] }
+ map.resources :configs, :path_prefix => '/sys', :name_prefix => 'sys_',
+ :only => [:index, :create]
begin
Ressource.all.each do |r|