wip: Forging new SEO friendly routes
This commit is contained in:
@@ -44,12 +44,14 @@ Rails.application.routes.draw do
|
||||
|
||||
get "orders/:order_id", to: "orders#show", as: "order"
|
||||
get "orders/:order_id/checkout", to: "orders#checkout", as: "order_checkout"
|
||||
post "orders/:order_id/retry_payment", to: "orders#retry_payment", as: "order_retry_payment"
|
||||
post "orders/:order_id/increment_payment_attempt", to: "orders#increment_payment_attempt", as: "order_increment_payment_attempt"
|
||||
|
||||
|
||||
# === Payments ===
|
||||
get "payments/success", to: "orders#payment_success", as: "payment_success"
|
||||
get "payments/cancel", to: "orders#payment_cancel", as: "payment_cancel"
|
||||
post "orders/:order_id/retry_payment", to: "orders#retry_payment", as: "payment_retry"
|
||||
post "orders/:order_id/increment_payment_attempt", to: "orders#increment_payment_attempt", as: "order_increment_payment_attempt"
|
||||
|
||||
|
||||
# === Tickets ===
|
||||
get "tickets/:ticket_id", to: "tickets#show", as: "ticket"
|
||||
|
||||
Reference in New Issue
Block a user