Exemplo n.º 1
0
func (_ tAdmin) NewCategory(
	name string,
	description string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "name", name)
	revel.Unbind(args, "description", description)
	return revel.MainRouter.Reverse("Admin.NewCategory", args).Url
}
Exemplo n.º 2
0
func (_ tApp) LoginPost(
	username string,
	password string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "username", username)
	revel.Unbind(args, "password", password)
	return revel.MainRouter.Reverse("App.LoginPost", args).Url
}
Exemplo n.º 3
0
func (_ tBlog) RedirectToSlug(
	category string,
	id int,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "category", category)
	revel.Unbind(args, "id", id)
	return revel.MainRouter.Reverse("Blog.RedirectToSlug", args).Url
}
Exemplo n.º 4
0
Arquivo: routes.go Projeto: jsli/GoCMS
func (_ tStatic) Serve(
	prefix string,
	filepath string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "prefix", prefix)
	revel.Unbind(args, "filepath", filepath)
	return revel.MainRouter.Reverse("Static.Serve", args).Url
}
Exemplo n.º 5
0
func (_ tAdmin) Edit(
	id int,
	slug string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "id", id)
	revel.Unbind(args, "slug", slug)
	return revel.MainRouter.Reverse("Admin.Edit", args).Url
}
Exemplo n.º 6
0
func (_ tBlog) ListTag(
	category string,
	tag string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "category", category)
	revel.Unbind(args, "tag", tag)
	return revel.MainRouter.Reverse("Blog.ListTag", args).Url
}
Exemplo n.º 7
0
func (_ tApp) ReportCard(
	user string,
	repo string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "user", user)
	revel.Unbind(args, "repo", repo)
	return revel.MainRouter.Reverse("App.ReportCard", args).Url
}
Exemplo n.º 8
0
func (_ tAdmin) SaveTags(
	shortid int,
	tags string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "shortid", shortid)
	revel.Unbind(args, "tags", tags)
	return revel.MainRouter.Reverse("Admin.SaveTags", args).Url
}
Exemplo n.º 9
0
Arquivo: routes.go Projeto: jsli/GoCMS
func (_ tTestRunner) Run(
	suite string,
	test string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "suite", suite)
	revel.Unbind(args, "test", test)
	return revel.MainRouter.Reverse("TestRunner.Run", args).Url
}
Exemplo n.º 10
0
func (_ tBlog) Show(
	category string,
	id int,
	slugString string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "category", category)
	revel.Unbind(args, "id", id)
	revel.Unbind(args, "slugString", slugString)
	return revel.MainRouter.Reverse("Blog.Show", args).Url
}
Exemplo n.º 11
0
func (_ tAdmin) SaveNew(
	title string,
	subtitle string,
	category string,
	body string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "title", title)
	revel.Unbind(args, "subtitle", subtitle)
	revel.Unbind(args, "category", category)
	revel.Unbind(args, "body", body)
	return revel.MainRouter.Reverse("Admin.SaveNew", args).Url
}
Exemplo n.º 12
0
func (_ tApp) CreateImage(
	func_name string,
	search_type string,
	call_depth uint,
	direction string,
	data_source string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "func_name", func_name)
	revel.Unbind(args, "search_type", search_type)
	revel.Unbind(args, "call_depth", call_depth)
	revel.Unbind(args, "direction", direction)
	revel.Unbind(args, "data_source", data_source)
	return revel.MainRouter.Reverse("App.CreateImage", args).Url
}
Exemplo n.º 13
0
Arquivo: routes.go Projeto: qmdx/GoCMS
func (_ tUser) EditPwd(
		admin interface{},
		) string {
	args := make(map[string]string)
	
	revel.Unbind(args, "admin", admin)
	return revel.MainRouter.Reverse("User.EditPwd", args).Url
}
Exemplo n.º 14
0
Arquivo: routes.go Projeto: qmdx/GoCMS
func (_ tRole) Delete(
		role interface{},
		) string {
	args := make(map[string]string)
	
	revel.Unbind(args, "role", role)
	return revel.MainRouter.Reverse("Role.Delete", args).Url
}
Exemplo n.º 15
0
Arquivo: routes.go Projeto: qmdx/GoCMS
func (_ tMenu) Delete(
		menu interface{},
		) string {
	args := make(map[string]string)
	
	revel.Unbind(args, "menu", menu)
	return revel.MainRouter.Reverse("Menu.Delete", args).Url
}
Exemplo n.º 16
0
Arquivo: routes.go Projeto: qmdx/GoCMS
func (_ tLogs) Index(
		logs interface{},
		) string {
	args := make(map[string]string)
	
	revel.Unbind(args, "logs", logs)
	return revel.MainRouter.Reverse("Logs.Index", args).Url
}
Exemplo n.º 17
0
Arquivo: routes.go Projeto: qmdx/GoCMS
func (_ tAdmin) Delete(
		admin interface{},
		) string {
	args := make(map[string]string)
	
	revel.Unbind(args, "admin", admin)
	return revel.MainRouter.Reverse("Admin.Delete", args).Url
}
Exemplo n.º 18
0
Arquivo: routes.go Projeto: qmdx/GoCMS
func (_ tPublic) Map(
		menu interface{},
		) string {
	args := make(map[string]string)
	
	revel.Unbind(args, "menu", menu)
	return revel.MainRouter.Reverse("Public.Map", args).Url
}
Exemplo n.º 19
0
func (_ tApp) Search(
	q string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "q", q)
	return revel.MainRouter.Reverse("App.Search", args).Url
}
Exemplo n.º 20
0
Arquivo: routes.go Projeto: qmdx/GoCMS
func (_ tAjax) Pos(
		menu interface{},
		) string {
	args := make(map[string]string)
	
	revel.Unbind(args, "menu", menu)
	return revel.MainRouter.Reverse("Ajax.Pos", args).Url
}
Exemplo n.º 21
0
func (_ tEntries) Update(
	id string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "id", id)
	return revel.MainRouter.Reverse("Entries.Update", args).Url
}
Exemplo n.º 22
0
func (_ tAdmin) Unpublish(
	id int,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "id", id)
	return revel.MainRouter.Reverse("Admin.Unpublish", args).Url
}
Exemplo n.º 23
0
func (_ tAdmin) DeleteCategory(
	name string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "name", name)
	return revel.MainRouter.Reverse("Admin.DeleteCategory", args).Url
}
Exemplo n.º 24
0
func (_ tAdmin) SitesGetUpdate(
	id interface{},
) string {
	args := make(map[string]string)

	revel.Unbind(args, "id", id)
	return revel.MainRouter.Reverse("Admin.SitesGetUpdate", args).Url
}
Exemplo n.º 25
0
func (_ tAdmin) SitesPostUpdate(
	site interface{},
) string {
	args := make(map[string]string)

	revel.Unbind(args, "site", site)
	return revel.MainRouter.Reverse("Admin.SitesPostUpdate", args).Url
}
Exemplo n.º 26
0
Arquivo: routes.go Projeto: qmdx/GoCMS
func (_ tUser) Left(
		menu interface{},
		) string {
	args := make(map[string]string)
	
	revel.Unbind(args, "menu", menu)
	return revel.MainRouter.Reverse("User.Left", args).Url
}
Exemplo n.º 27
0
Arquivo: routes.go Projeto: qmdx/GoCMS
func (_ tAjax) ScreenUnlock(
		admin interface{},
		) string {
	args := make(map[string]string)
	
	revel.Unbind(args, "admin", admin)
	return revel.MainRouter.Reverse("Ajax.ScreenUnlock", args).Url
}
Exemplo n.º 28
0
func (_ tAdmin) Index(
	q string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "q", q)
	return revel.MainRouter.Reverse("Admin.Index", args).Url
}
Exemplo n.º 29
0
Arquivo: routes.go Projeto: jsli/GoCMS
func (_ tApp) Index(
	admin interface{},
) string {
	args := make(map[string]string)

	revel.Unbind(args, "admin", admin)
	return revel.MainRouter.Reverse("App.Index", args).Url
}
Exemplo n.º 30
0
func (_ tAdmin) RedirectToSlug(
	id int,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "id", id)
	return revel.MainRouter.Reverse("Admin.RedirectToSlug", args).Url
}