mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
18 lines
584 B
CoffeeScript
18 lines
584 B
CoffeeScript
angular.module("ofn.admin", [
|
|
"ngResource",
|
|
"mm.foundation",
|
|
"angularFileUpload",
|
|
"ngAnimate",
|
|
"admin.utils",
|
|
"admin.indexUtils",
|
|
"admin.dropdown",
|
|
"admin.products",
|
|
"admin.taxons",
|
|
"infinite-scroll",
|
|
"admin.orders"
|
|
]).config ($httpProvider, $locationProvider, $qProvider) ->
|
|
$httpProvider.defaults.headers.common["Accept"] = "application/json, text/javascript, */*"
|
|
# for the next line, you should also probably check file: app/assets/javascripts/admin/utils/utils.js.coffee
|
|
$locationProvider.hashPrefix('')
|
|
$qProvider.errorOnUnhandledRejections(false)
|