consul
https://github.com/consul/consul
Ruby
Consul - Open Government and E-Participation Web Software
ApplicationController#report_data
Method for fetching report data. These data can be displayed in Grid/Tile/List. This method will first process params for options and then for current model. From these options and model we get view (for fetching data) and settings (will hold info about paging). Then this method will return JSON object with settings and data.
Edit
git clone [email protected]:consul/consul.git
cd consul
open
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-ApplicationController-report_data-for-pr
# Commit to gitgit add git commit -m "better docs for ApplicationController#report_data"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-ApplicationController-report_data-for-pr
hub pull-request
# Celebrate!