summaryrefslogtreecommitdiff
path: root/shrine/router/stats.go
diff options
context:
space:
mode:
Diffstat (limited to 'shrine/router/stats.go')
-rw-r--r--shrine/router/stats.go13
1 files changed, 13 insertions, 0 deletions
diff --git a/shrine/router/stats.go b/shrine/router/stats.go
new file mode 100644
index 0000000..8c165f9
--- /dev/null
+++ b/shrine/router/stats.go
@@ -0,0 +1,13 @@
+package router
+
+import (
+ "shrine/controllers"
+ "shrine/types"
+ "shrine/utils/urls"
+)
+
+func init() {
+ urls.SetNamespace("stats")
+
+ urls.Path(types.GET, "/", controllers.StatsController, "index")
+} \ No newline at end of file