@@ 123-130 (lines=8) @@ | ||
120 | /** |
|
121 | * @Route("/account/save", name="kunstmaan_dashboard_ajax_account_save") |
|
122 | */ |
|
123 | public function saveAccountAction(Request $request) |
|
124 | { |
|
125 | $accountId = $request->query->get('id'); |
|
126 | $configHelper = $this->container->get('kunstmaan_dashboard.helper.google.analytics.config'); |
|
127 | $configHelper->saveAccountId($accountId); |
|
128 | ||
129 | return new JsonResponse(); |
|
130 | } |
|
131 | ||
132 | /* =============================== PROPERTY =============================== */ |
|
133 | ||
@@ 154-161 (lines=8) @@ | ||
151 | /** |
|
152 | * @Route("/property/save", name="kunstmaan_dashboard_ajax_property_save") |
|
153 | */ |
|
154 | public function savePropertyAction(Request $request) |
|
155 | { |
|
156 | $propertyId = $request->query->get('id'); |
|
157 | $configHelper = $this->container->get('kunstmaan_dashboard.helper.google.analytics.config'); |
|
158 | $configHelper->savePropertyId($propertyId); |
|
159 | ||
160 | return new JsonResponse(); |
|
161 | } |
|
162 | ||
163 | /* =============================== PROFILE =============================== */ |
|
164 | ||
@@ 186-193 (lines=8) @@ | ||
183 | /** |
|
184 | * @Route("/profile/save", name="kunstmaan_dashboard_ajax_profile_save") |
|
185 | */ |
|
186 | public function saveProfileAction(Request $request) |
|
187 | { |
|
188 | $propertyId = $request->query->get('id'); |
|
189 | $configHelper = $this->container->get('kunstmaan_dashboard.helper.google.analytics.config'); |
|
190 | $configHelper->saveProfileId($propertyId); |
|
191 | ||
192 | return new JsonResponse(); |
|
193 | } |
|
194 | ||
195 | /* =============================== CONFIG =============================== */ |
|
196 |