-
Notifications
You must be signed in to change notification settings - Fork 49
Open
Labels
blockedIssue blocked by another issueIssue blocked by another issue
Description
!!! Blocked By: #944 !!!
Description:
Verify that both Administrate and new admin implementations are running successfully side-by-side. Do NOT remove Administrate routes yet.
Tasks:
- Verify all
admin_v2routes are properly configured - Ensure custom member actions work:
admin_v2/classrooms#toggle_archiveadmin_v2/students#import, #template, #add_transaction, #restore
- Set
admin_v2root toadmin_v2/classrooms#index - Verify
portfolio_transactions#indexroute excluded (except: [:index]) - Test all new admin pages are accessible at
/admin-new/* - Verify all old Administrate pages still work at
/admin/* - Document any differences between implementations
Acceptance Criteria:
- All new admin routes work at
/admin-new/* - All Administrate routes work at
/admin/* - Custom member actions accessible in new admin
- Admin_v2 root routes to classrooms index
- No route conflicts or errors
-
rails routes | grep adminshows both namespaces - Can navigate between both implementations
Files to Update:
config/routes.rb(verify both namespaces configured)
Reference:
config/routes.rb(current routes block)
Route Structure:
# Administrate (keep for now)
namespace :admin do
root to: 'classrooms#index'
resources :announcements
# ... all other resources
end
# New in-house (admin_v2)
namespace :admin_v2, path: 'admin-new' do
root to: 'classrooms#index'
resources :announcements
# ... all other resources with custom actions
endMetadata
Metadata
Assignees
Labels
blockedIssue blocked by another issueIssue blocked by another issue
Type
Projects
Status
Todo