summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authormo <mokha@cisco.com>2017-09-01 22:05:13 -0600
committermo <mokha@cisco.com>2017-09-01 22:05:13 -0600
commitf55c3826bf72f44e18b0e691324734476633b8f0 (patch)
tree64f842f8637d6829037f4928c008395bd4607012 /config
parentd0758ec51f36c2d899ac2da150182195589a0f9a (diff)
update admin activities page.
Diffstat (limited to 'config')
-rw-r--r--config/routes.rb9
1 files changed, 4 insertions, 5 deletions
diff --git a/config/routes.rb b/config/routes.rb
index 8e37fd69..dee759b1 100644
--- a/config/routes.rb
+++ b/config/routes.rb
@@ -78,14 +78,13 @@ Cake::Application.routes.draw do
namespace :admin do
root to: "users#index"
- resources :users, only: [:index, :show, :update]
- resources :jobs, only: [:index, :show, :update, :destroy]
resources :activities, only: [:index]
- resources :subscriptions, only: [:index]
- resources :photos, only: [:index, :show, :update]
resources :errors, only: [:index, :create]
- resources :sessions, only: [:index, :destroy]
+ resources :jobs, only: [:index, :show, :update, :destroy]
+ resources :photos, only: [:index, :show, :update]
resources :products, only: [:index, :show, :create]
+ resources :sessions, only: [:index, :destroy]
+ resources :users, only: [:index, :show, :update]
end
namespace :my do