Permalink
Browse files

Fix comments routes

  • Loading branch information...
1 parent af7373a commit 8519409d36cbb3285107e7bda7d057fd8fa32198 @jordanbyron jordanbyron committed Feb 21, 2013
Showing with 2 additions and 2 deletions.
  1. +2 −2 config/routes.rb
View
@@ -7,8 +7,8 @@
match '/login' => 'sessions#new', :as => 'login'
resources :puzzles do
- resources :comments, :controller => "Puzzles::Comments"
- resources :submissions, :controller => "Puzzles::Submissions"
+ resources :comments, :module => "puzzles"
+ resources :submissions, :module => "puzzles"
end
match '/tags/:tag', :to => 'puzzles#tag',

0 comments on commit 8519409

Please sign in to comment.