mod_survey dispatch rules (survey)

URL dispatch rules defined by mod_survey in apps/zotonic_mod_survey/priv/dispatch/survey.

This file defines the URL dispatch rules for mod_survey. Rules are matched from top to bottom; the first matching rule handles the request.

Source: apps/zotonic_mod_survey/priv/dispatch/survey

This set is stored in the survey dispatch file.

Dispatch namePathControllerOptions
survey_results_download/survey/results/download/:idcontroller_export_resource[{content_type,xlsx}]
survey_results_download/survey/results/download/:type/:idcontroller_export_resource[]
survey_results_printable/survey/results/printable/:idcontroller_page[{acl_action,update}, {is_canonical,false}, {template,<<"survey_results_printable.tpl">>}]
survey_results/survey/results/:idcontroller_page[{is_canonical,false}, {template,<<"survey_results.tpl">>}, {is_aggregated,true}]
survey_results/survey/results/:id/:slugcontroller_page[{is_canonical,false}, {template,<<"survey_results.tpl">>}, {is_aggregated,true}]
survey/survey/:idcontroller_page[{template,{cat,<<"survey.tpl">>}}]
survey/survey/:id/:slugcontroller_page[{template,{cat,<<"survey.tpl">>}}]
admin_survey_editor/admin/survey/:idcontroller_admin[{acl,{use,mod_survey}},{template,<<"admin_survey_editor.tpl">>},seo_noindex]

Edit on GitHub

Referred by

Dispatch rules

All dispatch rules

All the dispatch rules from all modules. For a background on dispatch rules, see The URL dispatch system.