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). |
||
|---|---|---|
| .. | ||
| environments | ||
| initializers | ||
| locales | ||
| application.rb | ||
| boot.rb | ||
| config.yml.example | ||
| database.yml.example | ||
| deploy.rb | ||
| environment.rb | ||
| piwik.yml.example | ||
| routes.rb | ||
| schedule.rb | ||
| secrets.yml.example | ||