dawarich/app/views/shared
Claude b1cbb5555f
Refactor: Apply Rails best practices to trip sharing implementation
- Remove unused @is_public_view variable from controller
- Simplify conditionals by leveraging methods that return [] when empty
- Move public view from trips/public_show to shared/trips/show (Rails conventions)
- Refactor trips#update to be HTML-only (remove JSON responses)
- Convert sharing form to use proper Rails form helpers
- Move JS controller to shared/ subdirectory with proper namespacing
- Create RSpec shared examples for Shareable concern to eliminate duplication
- Update request specs to match HTML-only controller behavior
- Apply 'render/redirect ... and return' pattern for early returns
2025-11-07 12:05:34 +00:00
..
trips Refactor: Apply Rails best practices to trip sharing implementation 2025-11-07 12:05:34 +00:00
_flash.html.erb Use family path instead of families/id 2025-10-04 22:39:47 +02:00
_footer.html.erb Add register link to login page 2025-04-12 00:08:51 +02:00
_legal_footer.html.erb Add register link to login page 2025-04-12 00:08:51 +02:00
_navbar.html.erb Add collapsible footer to map controls and update location search icon 2025-10-14 17:30:53 +02:00
_sharing_modal.html.erb Remove permanent option from stats sharing options, default to 24h expiration. 2025-09-19 23:49:32 +02:00