Skip to content

Commit

Permalink
add link to resources response (#202)
Browse files Browse the repository at this point in the history
  • Loading branch information
marthamareal authored May 26, 2021
1 parent 32d467b commit 15ff456
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions mapstore2_adapter/geoapps/geostories/api/serializers.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ def __init__(self, *args, **kwargs):
class Meta:
model = GeoStory
name = 'geostory'
view_name = 'geostories-list'
fields = (
'pk', 'uuid', 'app_type',
'zoom', 'projection', 'center_x', 'center_y',
Expand Down
2 changes: 1 addition & 1 deletion mapstore2_adapter/geoapps/geostories/api/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

from mapstore2_adapter.geoapps.geostories.api import views

router.register(r'geostories', views.GeoStoryViewSet)
router.register(r'geostories', views.GeoStoryViewSet, 'geostories')

urlpatterns = [
url(r'^api/v2/', include(router.urls)),
Expand Down

0 comments on commit 15ff456

Please sign in to comment.