Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
webservices
cern-search
cern-search-rest-api
Commits
c1479ee3
Commit
c1479ee3
authored
Nov 09, 2018
by
Pablo Panero
Browse files
Undo: when
https://github.com/inveniosoftware/invenio-app/pull/36
is merged
parent
ac0904c7
Changes
1
Hide whitespace changes
Inline
Side-by-side
cern_search_rest_api/modules/cernsearch/ext.py
View file @
c1479ee3
# -*- coding: utf-8 -*-
from
cern_search_rest_api.modules.cernsearch.views
import
build_blueprint
from
cern_search_rest_api.modules.cernsearch.views
import
build_blueprint
,
build_health_blueprint
class
CERNSearch
(
object
):
...
...
@@ -14,6 +14,7 @@ class CERNSearch(object):
"""Flask application initialization."""
self
.
init_config
(
app
)
blueprint
=
build_blueprint
(
app
)
app
.
register_blueprint
(
build_health_blueprint
())
app
.
register_blueprint
(
blueprint
)
app
.
extensions
[
"cern-search"
]
=
self
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment