mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 09:41:40 -05:00
- 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 |
||
|---|---|---|
| .. | ||
| api/v1 | ||
| auth | ||
| concerns | ||
| family | ||
| settings | ||
| shared | ||
| users | ||
| api_controller.rb | ||
| application_controller.rb | ||
| exports_controller.rb | ||
| families_controller.rb | ||
| home_controller.rb | ||
| imports_controller.rb | ||
| map_controller.rb | ||
| metrics_controller.rb | ||
| notifications_controller.rb | ||
| places_controller.rb | ||
| points_controller.rb | ||
| settings_controller.rb | ||
| stats_controller.rb | ||
| trips_controller.rb | ||
| visits_controller.rb | ||