formatted the createchart.js
Merge branch 'master' of https://github.com/COSI236TA/Trade_Assistant
move get_porfolio.htm.erb to views of portfolio and move the corresponding action to portfolios' controller
similar to changes to get_portfolio
---
1. Change the route
2. Move get_rule.html.erb to the rule's view folder
3. Move the action to rule's controlller
Merge pull request #61 from COSI236TA/wenbin

Wenbin