spec/dummy/config/routes.rb in rails_amp-0.1.9 vs spec/dummy/config/routes.rb in rails_amp-0.2.0
- old
+ new
@@ -3,8 +3,11 @@
root 'home#index'
get '/home/index', to: 'home#index'
get '/home/help', to: 'home#help'
get '/home/about', to: 'home#about'
-
+ namespace :admin do
+ resources :sessions
+ resources :users, :only => [:index, :show]
+ end
resources :users, :only => [:index, :show]
end