controllers

package
v0.0.0-...-11044e1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 25, 2013 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Admin

type Admin struct {
	*revel.Controller
	revmgo.MongoController
}

func (Admin) AddImages

func (c Admin) AddImages() revel.Result

func (Admin) Categories

func (c Admin) Categories() revel.Result

func (Admin) Edit

func (c Admin) Edit(id int, slug string) revel.Result

func (Admin) Index

func (c Admin) Index() revel.Result

func (Admin) Logout

func (c Admin) Logout() revel.Result

func (Admin) New

func (c Admin) New() revel.Result

func (Admin) NewCategory

func (c Admin) NewCategory(name, description string) revel.Result

func (Admin) Publish

func (c Admin) Publish(id int) revel.Result

func (Admin) RedirectToSlug

func (c Admin) RedirectToSlug(id int) revel.Result

func (Admin) Save

func (c Admin) Save(id int, title, subtitle, slugString, category, body, publish string) revel.Result

func (Admin) SaveNew

func (c Admin) SaveNew(title, subtitle, category, body string) revel.Result

func (Admin) Unpublish

func (c Admin) Unpublish(id int) revel.Result

type App

type App struct {
	*revel.Controller
	revmgo.MongoController
}

func (App) Index

func (c App) Index() revel.Result

func (App) Login

func (c App) Login() revel.Result

func (App) LoginPost

func (c App) LoginPost(username, password string) revel.Result

type Blog

type Blog struct {
	*revel.Controller
	revmgo.MongoController
}

func (Blog) List

func (c Blog) List() revel.Result

func (Blog) ListAll

func (c Blog) ListAll() revel.Result

func (Blog) ListCategory

func (c Blog) ListCategory(category string) revel.Result

func (Blog) RedirectToSlug

func (c Blog) RedirectToSlug(category string, id int) revel.Result

func (Blog) Show

func (c Blog) Show(category string, id int, slugString string) revel.Result

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL