Moves organization verification to Admin from Moderation

This commit is contained in:
kikito
2015-08-17 13:22:38 +02:00
parent ae21209920
commit 3096a73892
9 changed files with 70 additions and 61 deletions

View File

@@ -28,18 +28,18 @@ Rails.application.routes.draw do
namespace :admin do
root to: "dashboard#index"
resources :tags, only: [:index, :create, :update, :destroy]
end
namespace :moderation do
root to: "dashboard#index"
resources :organizations, only: :index do
member do
put :verify
put :reject
end
end
resources :tags, only: [:index, :create, :update, :destroy]
end
namespace :moderation do
root to: "dashboard#index"
end
# Example of regular route: