Sha256: 42f04752f3edaf22f8a8186bab5d49191391f6f202eef811e08a2773504097f3
Contents?: true
Size: 1.49 KB
Versions: 4
Compression:
Stored size: 1.49 KB
Contents
SurveyorGui::Engine.routes.draw do resources :surveyforms do member do get 'replace_form' get 'insert_survey_section' get 'replace_survey_section' get 'insert_new_question' get 'replace_question' get 'clone_survey' put 'create_cloned' patch 'create_cloned' get 'set_default' get 'cut_section' get 'paste_section' get 'cut_question' get 'paste_question' end end resources :survey_sections do post :sort, :on => :collection end match '/questions/sort', :to => 'questions#sort', :via => :post resources :questions do member do get 'cut' end collection do get 'render_answer_fields_partial' get 'render_grid_partial' get 'render_no_picks_partial' end end resources :question_groups do collection do get 'render_group_inline_partial' end end resources :dependencys do collection do get 'get_answers' get 'get_question_type' get 'get_columns' end end get '/dependency/render_dependency_conditions_partial', :to => 'dependencys#render_dependency_conditions_partial' resources :reports, :only=>[ 'show', 'preview', 'show_pdf'] do member do get 'show' get 'preview' get 'show_pdf' end end resources :survey, only: ['show'] do end resources :responses, only: ['show', 'index', 'preview'] do member do get 'preview' end end end
Version data entries
4 entries across 4 versions & 2 rubygems
Version | Path |
---|---|
upgrade_surveyor_gui-0.1.3 | config/routes.rb |
upgrade_surveyor_gui-0.1.2 | config/routes.rb |
surveyor_gui-0.1.2 | config/routes.rb |
surveyor_gui-0.1.1 | config/routes.rb |