Skip to content

Commit c0a83ad

Browse files
committed
Adding nested /answers to /supports
Previously support answers were actually being processed in /questions
1 parent f9447eb commit c0a83ad

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

config/routes.rb

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@
99
match "/download" => redirect("/downloads/latest")
1010

1111
scope '/support', :as => 'support' do
12-
resources :questions, :controller => 'questions'
12+
resources :questions, :controller => 'questions' do
13+
resources :answers
14+
end
1315
end
1416

1517
constraints(ApiConstraint) do

0 commit comments

Comments
 (0)