Skip to content

Commit

Permalink
Add context based annotatiosn route configuration (#44)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-schranz committed Apr 8, 2020
1 parent afa6f05 commit 6d46159
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 1 addition & 3 deletions config/routes/annotations.yaml
Original file line number Diff line number Diff line change
@@ -1,3 +1 @@
controllers:
resource: ../../src/Controller/
type: annotation
# Annotation are defined per context in "annotations_admin.yaml" and "annotations_website.yaml"
3 changes: 3 additions & 0 deletions config/routes/annotations_admin.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
controllers:
resource: ../../src/Controller/Admin/
type: annotation
3 changes: 3 additions & 0 deletions config/routes/annotations_website.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
controllers:
resource: ../../src/Controller/Website/
type: annotation
Empty file removed src/Controller/.gitignore
Empty file.

0 comments on commit 6d46159

Please sign in to comment.