Sha256: 90a44a00e6a50537ef2fcfa5be18ee624bc7b462ea1b7d4fcc03ef7fa4c71db4

Contents?: true

Size: 733 Bytes

Versions: 6

Compression:

Stored size: 733 Bytes

Contents

Surveyor::Engine.routes.draw do
  match '/', :to                                     => 'surveyor#new', :as    => 'available_surveys', :via => :get
  match '/:survey_code', :to                         => 'surveyor#create', :as => 'take_survey', :via       => :post
  match '/:survey_code', :to                         => 'surveyor#export', :as => 'export_survey', :via     => :get
  match '/:survey_code/:response_set_code', :to      => 'surveyor#show', :as   => 'view_my_survey', :via    => :get
  match '/:survey_code/:response_set_code/take', :to => 'surveyor#edit', :as   => 'edit_my_survey', :via    => :get
  match '/:survey_code/:response_set_code', :to      => 'surveyor#update', :as => 'update_my_survey', :via  => :put
end

Version data entries

6 entries across 6 versions & 4 rubygems

Version Path
upgrade_surveyor-1.4.2 config/routes.rb
affectiva-surveyor-1.5.0.pre.disco.2 config/routes.rb
hssc_surveyor-1.4.3.pre config/routes.rb
hssc_surveyor-1.4.2.pre config/routes.rb
hssc_surveyor-1.4.1.pre config/routes.rb
surveyor-1.4.0 config/routes.rb