fixed bug with double :id in path

This commit is contained in:
jomo
2014-02-01 19:48:40 +01:00
parent 8b7e573b73
commit b3beb8ef13
2 changed files with 7 additions and 11 deletions

View File

@@ -24,12 +24,10 @@ Site::Application.routes.draw do
end
resources :forums, path: 'forums' do
collection do
resources :forumgroups, path: 'groups'
end
member do
resources :forumthreads, path: 'threads'
end
resources :forumthreads, path: 'threads'
collection do
resources :forumgroups, path: 'groups'
end
end
match '/status' => 'status#show'