Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
sams-classes
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
coding-at-fu
sams-classes
Merge requests
!17
Resolve "main app sollte auch unter /appname/,,, ereichbar sein"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "main app sollte auch unter /appname/,,, ereichbar sein"
24-apppname-urlprefix-for-mainapp
into
master
Overview
1
Commits
3
Pipelines
1
Changes
1
Merged
slobinger
requested to merge
24-apppname-urlprefix-for-mainapp
into
master
7 years ago
Overview
1
Commits
3
Pipelines
1
Changes
1
Expand
Closes
#24 (closed)
0
0
Merge request reports
Viewing commit
08b519e9
Prev
Next
Show latest version
1 file
+
2
−
3
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
08b519e9
update addApp Method in sams_hub.py to pass test_sams_hub fix issue
#24
· 08b519e9
Sebastian Lobinger
authored
7 years ago
sams_classes/sams_hub.py
+
2
−
3
Options
@@ -37,9 +37,8 @@ class SAMSHub:
@@ -37,9 +37,8 @@ class SAMSHub:
self
.
_appList
.
append
(
app
)
self
.
_appList
.
append
(
app
)
if
app
.
name
==
self
.
_config
.
get
(
'
main_app
'
):
if
app
.
name
==
self
.
_config
.
get
(
'
main_app
'
):
self
.
_flaskApp
.
register_blueprint
(
app
.
blueprint
)
self
.
_flaskApp
.
register_blueprint
(
app
.
blueprint
)
else
:
self
.
_flaskApp
.
register_blueprint
(
self
.
_flaskApp
.
register_blueprint
(
app
.
blueprint
,
url_prefix
=
'
/
'
+
app
.
name
)
app
.
blueprint
,
url_prefix
=
'
/
'
+
app
.
name
)
@property
@property
def
appKeys
(
self
):
def
appKeys
(
self
):
Loading