Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
Team 5 - Smart Towns
Manage
Activity
Members
Labels
Plan
Issues
34
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Rhys Evans
Team 5 - Smart Towns
Commits
ddbaf371
Commit
ddbaf371
authored
1 year ago
by
Connor Brock
Browse files
Options
Downloads
Patches
Plain Diff
Added Controller annotation.
parent
3c1e9ee9
No related branches found
Branches containing commit
No related tags found
1 merge request
!41
Resolve "As a convenience enthusiast, I want a drop down menu to be able to quickly scan QR codes I find along my dragon trail so that I may continue on my adventure without disruption."
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/Team5/SmartTowns/dragonstale/DragonsTaleController.java
+6
-1
6 additions, 1 deletion
...a/Team5/SmartTowns/dragonstale/DragonsTaleController.java
with
6 additions
and
1 deletion
src/main/java/Team5/SmartTowns/dragonstale/DragonsTaleController.java
+
6
−
1
View file @
ddbaf371
package
Team5.SmartTowns.dragonstale
;
import
Team5.SmartTowns.landmarks.Landmarks
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.servlet.ModelAndView
;
...
...
@@ -8,6 +9,9 @@ import java.util.List;
import
static
Team5
.
SmartTowns
.
dragonstale
.
DragonsTale
.
landmarksDragonstrail
;
@Controller
public
class
DragonsTaleController
{
@GetMapping
(
"/dragonstale"
)
...
...
@@ -18,7 +22,6 @@ public class DragonsTaleController {
return
modelAndView
;
}
//
// @GetMapping("dragonstale/{qrCode}/{id}")
// public String qrCodeCheck(@PathVariable Optional<String> qrCode, @PathVariable Optional<Integer> id){
// if (qrCode.isPresent()){
...
...
@@ -28,4 +31,6 @@ public class DragonsTaleController {
// }
// }
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment