Matt-Yorkley
7b0c55e15a
Ensure producer properties are included in properties results
2019-10-18 21:15:13 +01:00
Matt-Yorkley
cbe2477d04
Fix property filters and improve test coverage
2019-10-18 21:15:13 +01:00
Matt-Yorkley
c730958fe4
Restrict search params passed to ProductsRenderer
2019-10-18 21:15:13 +01:00
Matt-Yorkley
542c1bf684
#slice :params in controller and rename to :args in service context
2019-10-18 21:15:13 +01:00
Matt-Yorkley
b3c89a9d6c
Move OpenFoodNetwork::ProductsRenderer (lib) to ProductsRenderer (service) and refactor
2019-10-18 21:15:13 +01:00
Matt-Yorkley
c54cff10d4
Adjust API endpoint params
2019-10-18 21:15:13 +01:00
Matt-Yorkley
ab330e882e
Remove product cache
2019-10-18 21:15:11 +01:00
Matt-Yorkley
06e1f56ae9
Extract filter list fetching into a separate endpoint
2019-10-08 10:11:24 +01:00
Matt-Yorkley
bc826f73a1
Add temporary placeholder for API endpoint
2019-10-03 18:11:40 +01:00
luisramos0
1d92d6cc33
Remove unused api endpoint order_cycles and also action enterprises/managed and respective views
2019-07-22 17:35:41 +01:00
luisramos0
86b0d71c7e
Result of rubocop auto-correct and rebuilding rubocop_manual_todo
2019-05-28 12:57:29 +01:00
Pau Perez
cee24dcca7
Use indented style for multiline method calls
...
This enables the Rubocop's Style/MultilineMethodCallIndentation cop with
indentend enforced style. Which makes you split multiline method calls like:
orders = Spree::Order
.an_scope
.another_scope
.where(id: list_of_ids)
It also autofixes the current violations and updates the
rubocop_todo.yml
2017-07-12 10:40:53 +02:00
Rob Harrington
9ab16d8cec
Allowing calls to Api::OrderCyclesController#accessible to specify :as => 'distributor' or 'producer'
2015-05-07 12:50:54 +10:00
Rohan Mitchell
b649d6ef69
Authorise access to OrderCycles API
2014-04-24 13:20:16 +10:00
Rob H
131b4ac073
Hack fix for our API controllers not being able to access Spree's Rabl Responder
2014-04-23 12:31:30 +10:00
Rob H
b37a701d39
Merge branch 'api_fixes' into bom
2014-04-23 12:03:01 +10:00
Rob H
353b26c3df
Hack fix for our API controllers not being able to access Spree's Rabl Responder
2014-04-23 12:02:11 +10:00
Rob H
83e3172901
Add accessible action to order_cycles controller for listing order_cycles by enterprises invloved
2014-04-16 18:27:50 +10:00
Rob H
fc65eefcfd
Add basic order cycle API
2014-03-05 12:00:26 +11:00