Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

adjusting results routes. closes #80.

  • Loading branch information...
commit c3619a30cfdb9a448416cb23e3ceb170164ef556 1 parent c760d0e
Mark Yoon authored
Showing with 8 additions and 8 deletions.
  1. +8 −8 config/routes.rb
View
16 config/routes.rb
@@ -1,9 +1,9 @@
Rails.application.routes.draw do
- match 'surveys', :to => 'surveyor#new', :as => 'available_surveys', :via => :get
- match 'surveys/:survey_code', :to => 'surveyor#create', :as => 'take_survey', :via => :post
- match 'surveys/:survey_code/:response_set_code', :to => 'surveyor#show', :as => 'view_my_survey', :via => :get
- match 'surveys/:survey_code/:response_set_code/take', :to => 'surveyor#edit', :as => 'edit_my_survey', :via => :get
- match 'surveys/:survey_code/:response_set_code', :to => 'surveyor#update', :as => 'update_my_survey', :via => :put
- match 'results/results', :to => 'results#index', :as => 'show_sureveys_result_lists', :via => :get
- match 'results/:survey_code', :to => 'results#show', :as => 'show_one_survey_results', :via => :get
-end
+ match 'surveys', :to => 'surveyor#new', :as => 'available_surveys', :via => :get
+ match 'surveys/:survey_code', :to => 'surveyor#create', :as => 'take_survey', :via => :post
+ match 'surveys/:survey_code/:response_set_code', :to => 'surveyor#show', :as => 'view_my_survey', :via => :get
+ match 'surveys/:survey_code/:response_set_code/take', :to => 'surveyor#edit', :as => 'edit_my_survey', :via => :get
+ match 'surveys/:survey_code/:response_set_code', :to => 'surveyor#update', :as => 'update_my_survey', :via => :put
+ match 'results', :to => 'results#index', :as => 'results', :via => :get
+ match 'results/:survey_code', :to => 'results#show', :as => 'result', :via => :get
+end
Please sign in to comment.
Something went wrong with that request. Please try again.