Module base

Module base 

Source
Expand description

Controller for static assets and other routes shared between the app and the general web site.

Functionsยง

get_app_css
get_dependencies_tar_gz
get_dependencies_zip_redirect
get_doc_index
get_doc_page
get_installer_freebsd_x64
get_installer_linux_x64
get_installer_linux_x86
get_installer_windows_x64
get_src_tar_gz
get_src_zip_redirect
get_versioned_release_source
redirect_permanent
Redirect helper for 308 (Permanent Redirect, preserves method). If X-CollectiveToolbox-IsJsRequest header is present, returns JSON with target URL and X-CollectiveToolbox-IsJsRedirect response header.
redirect_temporary
Redirect helper for 303 (See Other, changes POST to GET). If X-CollectiveToolbox-IsJsRequest header is present, returns JSON with target URL and X-CollectiveToolbox-IsJsRedirect response header.
redirect_temporary_preserve_method
Redirect helper for 307 (Temporary Redirect, preserves method). If X-CollectiveToolbox-IsJsRequest header is present, returns JSON with target URL and X-CollectiveToolbox-IsJsRedirect response header.
static_or_404