~matteo-collina/+junk/gipieffe

« back to all changes in this revision

Viewing changes to config/routes.rb

  • Committer: Matteo Collina
  • Date: 2008-11-01 09:48:01 UTC
  • Revision ID: matteo.collina@gmail.com-20081101094801-1mp5uz0p2cww6ke3
 * Putted the project scaffold inside the admin namespace.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
ActionController::Routing::Routes.draw do |map|
2
 
  map.resources :projects
 
2
  map.namespace :admin do |admin|    
 
3
    admin.resources :projects
 
4
  end
3
5
 
4
6
  # The priority is based upon order of creation: first created -> highest priority.
5
7