Skip to content

[WHATIF] /organizations = public, /me/organizations = member#329

Closed
yshmarov wants to merge 1 commit into
mainfrom
refactor-organization-routes
Closed

[WHATIF] /organizations = public, /me/organizations = member#329
yshmarov wants to merge 1 commit into
mainfrom
refactor-organization-routes

Conversation

@yshmarov
Copy link
Copy Markdown
Owner

Summary

  • Reorganize organization management by separating browsing from user's own org management
  • /organizations now shows discoverable organizations for browsing
  • /me/organizations handles user's own organization CRUD operations
  • New User::OrganizationsController for managing user's organizations
  • Remove Public::OrganizationsController (functionality merged into main controller)
  • Move organization form/table views to user namespace

Test plan

  • Verify /organizations shows only discoverable organizations (not the user's own)
  • Verify /me/organizations shows user's organizations with create/edit/delete functionality
  • Verify organization edit/update/destroy actions work under new routes
  • Run rails test:all to ensure all tests pass

🤖 Generated with Claude Code

Reorganize organization management by separating concerns:
- `/organizations` now shows discoverable organizations (browse)
- `/me/organizations` handles user's own organization CRUD
- New `User::OrganizationsController` for managing user's orgs
- Remove `Public::OrganizationsController` (merged into main controller)
- Move organization form/table views to user namespace
- Update routes and tests accordingly

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@yshmarov yshmarov changed the title Refactor organization routes and controllers [WHATIF] /organizations = public, /me/organizations = member Jan 24, 2026
@yshmarov
Copy link
Copy Markdown
Owner Author

also vibecoded. kinda cool, but super low priority.

@yshmarov yshmarov closed this Jan 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant