added route for getting followed issues by user id and corresponding controller method. Also made verify in User controller return user id in json response
Some changes
Merge branch 'master' of github.com:g0v/kuansim-rails into related-issues
Merged in related-issues changes
Slight refactoring so that only need id to check if user follows, or already has events and issues
Fixed the tests
Can now get the most popular issues
Changed popular so that it now utilizes scope from issue model.
Also changed the has_many_and_belongs_to relationships to has_many :through.
Had to create new models for that
Removed old issue.popular code
Changed delete method to destroy so that rails does appropriate lifecycle checks upon destroying an object
Added ability for user to unfollow issue
Added before filters for following issues
make bookmark description optional, add URL field. fix mock data for rspec
event controller fixed with JSON string by jQuery
fix timeline spec, make it compatible with current bookmark design
fixed some bugs with related issue and fixed up spec tests
associate issues with bookmarks
modify bookmark create method to work with angularjs
correspond to latest change in front-end for bookmark creation
fix bookmark date_happened creation issue