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

Method to check if current request is a POST request. #1517

Closed
wants to merge 2 commits into from
Closed

Method to check if current request is a POST request. #1517

wants to merge 2 commits into from

Commits on Dec 13, 2012

  1. Method to check if current request is a POST request.

    This is much more useful than using Request::method() when
    updating models. If the request is a POST request, update
    your model with the input, otherwise render to response.
    George Robinson committed Dec 13, 2012
    Configuration menu
    Copy the full SHA
    86c5496 View commit details
    Browse the repository at this point in the history
  2. Shorten the signature.

    George Robinson committed Dec 13, 2012
    Configuration menu
    Copy the full SHA
    3b3a07b View commit details
    Browse the repository at this point in the history