mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
`if..else` is better than unless with return. On failed update render `edit` template and not render `new` template. On failed save redirect to index path and not render `new` template. Change `destory` to `withdraw`, cause `destroy` makes DELETE request when we are updating the event record. Check for success for save in withdraw (save can fail for reasons other than validation). |
||
|---|---|---|
| .. | ||
| admin | ||
| api | ||
| users | ||
| application_controller.rb | ||
| commercials_controller.rb | ||
| conference_controller.rb | ||
| conference_registrations_controller.rb | ||
| confirmations_controller.rb | ||
| proposal_controller.rb | ||
| registrations_controller.rb | ||
| subscriptions_controller.rb | ||
| ticket_purchases_controller.rb | ||
| tickets_controller.rb | ||
| users_controller.rb | ||