razat249 / ecb-sac-final-app

This is a AngularJS front end client for Student Activity Center (SAC), Government Engineering College Bikaner http://ecb-bikaner.github.io —
http://www.ecbsac.org
MIT License
4 stars 2 forks source link

Problem in submitting an event in edit_event route #3

Closed The-Atul-Sharma closed 8 years ago

The-Atul-Sharma commented 8 years ago

While we submit an event in localhost:3000/#/edit_event route then it is redirected to another event page.

ishancoder commented 8 years ago

Success

The problem was that the edit-event.js file was hard coded with the link of an event that's why the page keeps redirecting to the same event. I have changed it to load the event's id dynamically when it got saved to database.