controllers

package
v0.0.0-...-420119a Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2014 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	*revel.Controller
}

func (App) Index

func (c App) Index() revel.Result

func (App) Objectives

func (c App) Objectives() revel.Result

func (App) Tags

func (c App) Tags(q string) revel.Result

type Communication

type Communication struct {
	*revel.Controller
}

type Post

type Post struct {
	*revel.Controller
}

func (*Post) List

func (p *Post) List() revel.Result

func (*Post) ListBy

func (p *Post) ListBy(tag models.Tag) revel.Result

func (*Post) ListFor

func (p *Post) ListFor(user models.User) revel.Result

func (*Post) New

func (p *Post) New(item models.Item) revel.Result

func (*Post) NewForm

func (p *Post) NewForm() revel.Result

func (*Post) Request

func (p *Post) Request(req models.Request) revel.Result

func (*Post) Update

func (p *Post) Update(item models.Item) revel.Result

this function can be used by both for post owner and public this should be requested by AJAX and response with JSON public user should not be able to update post

type PostItem

type PostItem struct {
	models.Item
	PostDateString   string
	UpdateDateString string
}

Jump to

Keyboard shortcuts

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