added discounts#index
added histories#index
Merge pull request #15 from Neodelf/dev

indexes