summaryrefslogtreecommitdiff
path: root/help/config/routes.rb
diff options
context:
space:
mode:
Diffstat (limited to 'help/config/routes.rb')
-rw-r--r--help/config/routes.rb7
1 files changed, 4 insertions, 3 deletions
diff --git a/help/config/routes.rb b/help/config/routes.rb
index 86a9201..8f3241c 100644
--- a/help/config/routes.rb
+++ b/help/config/routes.rb
@@ -1,5 +1,6 @@
Rails.application.routes.draw do
-
- resources :tickets, :only => [:new, :create, :index, :show, :update, :destroy]
- #resources :ticket, :only => [:show]
+ resources :tickets, :except => :edit
+ resources :users do
+ resources :tickets, :except => :edit
+ end
end