mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00

- 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
6 lines
121 B
Ruby
6 lines
121 B
Ruby
ActionController::Routing::Routes.draw do |map|
|
|
|
|
map.resources :posts
|
|
map.resources :users, :has_many => :posts
|
|
|
|
end
|