from flask_wiki.backend.backend import api
from flask_wiki.backend.views import PageView

api.add_resource(PageView, '/pages-list', endpoint='pages-list')
from flask_wiki.backend.backend import api
from flask_wiki.backend.views import PageView, PageDetail

api.add_resource(PageView, '/pages-list', endpoint='pages-list')
api.add_resource(PageDetail, '/pages/<slug>', endpoint='page-detail')
Support for page-detail url added.
Support for page-detail url added.

  from flask_wiki.backend.backend import api
- from flask_wiki.backend.views import PageView
+ from flask_wiki.backend.views import PageView, PageDetail
  
  api.add_resource(PageView, '/pages-list', endpoint='pages-list')
+ api.add_resource(PageDetail, '/pages/<slug>', endpoint='page-detail')
Support for page-detail url added.
## Code Before:
from flask_wiki.backend.backend import api
from flask_wiki.backend.views import PageView

api.add_resource(PageView, '/pages-list', endpoint='pages-list')
## Instruction:
Support for page-detail url added.
## Code After:
from flask_wiki.backend.backend import api
from flask_wiki.backend.views import PageView, PageDetail

api.add_resource(PageView, '/pages-list', endpoint='pages-list')
api.add_resource(PageDetail, '/pages/<slug>', endpoint='page-detail')