1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00
thoughtbot--shoulda-matchers/test/rails_root/config/routes.rb
tsaleh 46f8ff2437 - fixed the rails root to rails 2.0.2
- updated the rails root to rails 2 standards
- added .autotest file to fix autotest
- fixed bug in determining the resource path



git-svn-id: https://svn.thoughtbot.com/plugins/shoulda/trunk@286 7bbfaf0e-4d1d-0410-9690-a8bb5f8ef2aa
2008-01-21 14:13:43 +00:00

6 lines
121 B
Ruby

ActionController::Routing::Routes.draw do |map|
map.resources :posts
map.resources :users, :has_many => :posts
end