Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
5833867b
Commit
5833867b
authored
Jan 14, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
renamed register route to signup
parent
ced5e550
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
5 deletions
+6
-5
grafana
+1
-1
pkg/api/api.go
+3
-3
pkg/api/signup.go
+2
-1
No files found.
grafana
@
6cc1502c
Subproject commit
9f4ea7301a41c4dc3449f854d7a61b089d33dad0
Subproject commit
6cc1502c8998332fc4409ea15e68e42c1724144b
pkg/api/api.go
View file @
5833867b
...
...
@@ -45,9 +45,9 @@ func Register(m *macaron.Macaron) {
// data source proxy
m
.
Any
(
"/api/datasources/proxy/:id/*"
,
auth
,
ProxyDataSourceRequest
)
//
user register
m
.
Get
(
"/
register
"
,
Index
)
m
.
Post
(
"/api/account
"
,
CreateAccount
)
//
User sign up
m
.
Get
(
"/
signup
"
,
Index
)
m
.
Post
(
"/api/account
/signup"
,
SignUp
)
// dashboards
m
.
Get
(
"/dashboard/*"
,
auth
,
Index
)
...
...
pkg/api/
register
.go
→
pkg/api/
signup
.go
View file @
5833867b
...
...
@@ -7,7 +7,8 @@ import (
"github.com/torkelo/grafana-pro/pkg/util"
)
func
CreateAccount
(
c
*
middleware
.
Context
)
{
// POST /api/account/signup
func
SignUp
(
c
*
middleware
.
Context
)
{
var
cmd
m
.
CreateAccountCommand
if
!
c
.
JsonBody
(
&
cmd
)
{
...
...
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