示例#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
}
示例#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
}
示例#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
}
示例#4
0
文件: routes.go 项目: 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
}
示例#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
}
示例#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
}
示例#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
}
示例#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
}
示例#9
0
文件: routes.go 项目: 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
}
示例#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
}
示例#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
}
示例#12
0
文件: routes.go 项目: jinlf/callgraph
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
}
示例#13
0
文件: routes.go 项目: 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
}
示例#14
0
文件: routes.go 项目: 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
}
示例#15
0
文件: routes.go 项目: 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
}
示例#16
0
文件: routes.go 项目: 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
}
示例#17
0
文件: routes.go 项目: 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
}
示例#18
0
文件: routes.go 项目: 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
}
示例#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
}
示例#20
0
文件: routes.go 项目: 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
}
示例#21
0
文件: routes.go 项目: argentum47/Fio
func (_ tEntries) Update(
	id string,
) string {
	args := make(map[string]string)

	revel.Unbind(args, "id", id)
	return revel.MainRouter.Reverse("Entries.Update", args).Url
}
示例#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
}
示例#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
}
示例#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
}
示例#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
}
示例#26
0
文件: routes.go 项目: 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
}
示例#27
0
文件: routes.go 项目: 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
}
示例#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
}
示例#29
0
文件: routes.go 项目: 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
}
示例#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
}