Domain list for admin

This commit is contained in:
Martin Lensment 2014-09-05 12:16:02 +03:00
parent 238be6d59e
commit 8531e50474
11 changed files with 81 additions and 7 deletions

View file

@ -6,6 +6,7 @@ Rails.application.routes.draw do
end
namespace(:admin) do
resources :domains
resources :setting_groups
end
@ -13,7 +14,7 @@ Rails.application.routes.draw do
# See how all your routes lay out with "rake routes".
# You can have the root of your site routed with "root"
root 'admin/setting_groups#index'
root 'admin/domains#index'
# Example of regular route:
# get 'products/:id' => 'catalog#view'