@@ 109-116 (lines=8) @@ | ||
106 | /** |
|
107 | * @Route("/account/save", name="kunstmaan_dashboard_ajax_account_save") |
|
108 | */ |
|
109 | public function saveAccountAction(Request $request) |
|
110 | { |
|
111 | $accountId = $request->query->get('id'); |
|
112 | $configHelper = $this->container->get('kunstmaan_dashboard.helper.google.analytics.config'); |
|
113 | $configHelper->saveAccountId($accountId); |
|
114 | ||
115 | return new JsonResponse(); |
|
116 | } |
|
117 | ||
118 | /* =============================== PROPERTY =============================== */ |
|
119 | ||
@@ 140-147 (lines=8) @@ | ||
137 | /** |
|
138 | * @Route("/property/save", name="kunstmaan_dashboard_ajax_property_save") |
|
139 | */ |
|
140 | public function savePropertyAction(Request $request) |
|
141 | { |
|
142 | $propertyId = $request->query->get('id'); |
|
143 | $configHelper = $this->container->get('kunstmaan_dashboard.helper.google.analytics.config'); |
|
144 | $configHelper->savePropertyId($propertyId); |
|
145 | ||
146 | return new JsonResponse(); |
|
147 | } |
|
148 | ||
149 | /* =============================== PROFILE =============================== */ |
|
150 | ||
@@ 172-179 (lines=8) @@ | ||
169 | /** |
|
170 | * @Route("/profile/save", name="kunstmaan_dashboard_ajax_profile_save") |
|
171 | */ |
|
172 | public function saveProfileAction(Request $request) |
|
173 | { |
|
174 | $propertyId = $request->query->get('id'); |
|
175 | $configHelper = $this->container->get('kunstmaan_dashboard.helper.google.analytics.config'); |
|
176 | $configHelper->saveProfileId($propertyId); |
|
177 | ||
178 | return new JsonResponse(); |
|
179 | } |
|
180 | ||
181 | /* =============================== CONFIG =============================== */ |
|
182 |