Andrew 2 settimane fa
parent
commit
a722366304
1 ha cambiato i file con 4 aggiunte e 0 eliminazioni
  1. 4
    0
      app/Http/Controllers/Api/ProjectController.php

+ 4
- 0
app/Http/Controllers/Api/ProjectController.php Vedi File

70
                 'thumbnail' => $project->thumbnail_url,
70
                 'thumbnail' => $project->thumbnail_url,
71
                 'imgUrl' => $project->first_list_img_url,
71
                 'imgUrl' => $project->first_list_img_url,
72
                 'mobileImgUrl' => $project->first_mobile_img_url,
72
                 'mobileImgUrl' => $project->first_mobile_img_url,
73
+                'seo_description' => $project->getTranslation('seo_description', $locale),
74
+                'seo_keywords' => $project->getTranslation('seo_keywords', $locale),
73
             ];
75
             ];
74
         }
76
         }
75
 
77
 
126
             ],
128
             ],
127
             'spaceInfo' => $projectSpaceInfo,
129
             'spaceInfo' => $projectSpaceInfo,
128
             'historyList' => $projectHistories,
130
             'historyList' => $projectHistories,
131
+            'seo_description' => $project->getTranslation('seo_description', $locale),
132
+            'seo_keywords' => $project->getTranslation('seo_keywords', $locale),
129
         ];
133
         ];
130
 
134
 
131
         return Response::ok($result);
135
         return Response::ok($result);