If you have 'resources :rooms', you don't need the match. resources will cover that