Skip to content
This repository was archived by the owner on Jul 24, 2020. It is now read-only.

[1502] Redirect correctly on invalid reservation/new request #1508

Merged
merged 1 commit into from
Feb 23, 2016

Conversation

zeffman
Copy link
Contributor

@zeffman zeffman commented Feb 23, 2016

closes #1502

  • edit reservation_controller new code to redirect to root if
    HTTP_REFERER not present
  • add appropriate tests to spec/features/reservations_spec.rb

@zeffman zeffman force-pushed the 1502_master_reservation_redirect_error branch 2 times, most recently from 2067439 to fce1a35 Compare February 23, 2016 03:28
closes #1502
  - edit reservation_controller new code to redirect to root if
    HTTP_REFERER not present
  - add appropriate tests to spec/features/reservations_spec.rb
@zeffman zeffman force-pushed the 1502_master_reservation_redirect_error branch from c1396dd to c8689ab Compare February 23, 2016 03:35
@orenyk orenyk changed the title Redirect correctly on invalid reservation/new request [1502] Redirect correctly on invalid reservation/new request Feb 23, 2016
@orenyk
Copy link
Contributor

orenyk commented Feb 23, 2016

Merging based on review in #1504

orenyk added a commit that referenced this pull request Feb 23, 2016
…t_error

[1502] Redirect correctly  on invalid reservation/new request
@orenyk orenyk merged commit 3b1a479 into master Feb 23, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Directly accessing new reservation page with empty cart causes Rails error [v5.5]
2 participants