sites#index needs to be replaced (or supplemented by) sites#show
Closed this issue · 2 comments
hillam commented
Sites#show
has become essential.
This route can return time in the past day, week, month, year, and forever rather than only "all time". I also don't have a place in the current 'sites'
data structure to put site ids. Site ids are required for linking the user to particular screens on their profile from the popup.
hillam commented
Given that the popup is now static, sites#show
may eliminate the need for sites#index
.. at least in the API.