Changed students_controller#index and assignments_controller#index to render Json so that front-end can make an api call to it and get those info.
If needed to rollback to original code, it is still there except only commented out.
broke some tests (3 of them) because of how the index is being rendered (rails view X Json) but we decided to deal with that after we have all json rendering accordingly to and replace those tests wth the right ones.
Changed students_controller#index and assignments_controller#index to render Json so that front-end can make an api call to it and get those info.
If needed to rollback to original code, it is still there except only commented out.
broke some tests (3 of them) because of how the index is being rendered (rails view X Json) but we decided to deal with that after we have all json rendering accordingly to and replace those tests wth the right ones.