Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure user chooses supertype / document type #115

Merged
merged 1 commit into from
Aug 10, 2018

Commits on Aug 10, 2018

  1. Ensure user chooses supertype / document type

    This prevents the user reaching an error page in the case where they
    forget to choose a supertype or a document type, and then click the
    'Continue' button when creating a document.
    
    The page to choose a document type was previously a POST route, which
    made it awkward to re-visit the page if the user doesn't select a
    document type and clicks 'Continue'. To support re-visiting the page,
    the route is now a GET route and the form_tag for choosing a supertype
    now has the explicit route to get to it, turning off the UTF8 character
    set param to keep the resulting URL query params clean.
    Ben Thorner committed Aug 10, 2018
    Configuration menu
    Copy the full SHA
    e103031 View commit details
    Browse the repository at this point in the history