Documentation ¶
Index ¶
- type Admin
- func (c Admin) Categories() revel.Result
- func (c Admin) DeleteCategory(name string) revel.Result
- func (c Admin) Edit(id int, slug string) revel.Result
- func (c Admin) Index() revel.Result
- func (c Admin) Logout() revel.Result
- func (c Admin) New() revel.Result
- func (c Admin) NewCategory(name, description string) revel.Result
- func (c Admin) Publish(id int) revel.Result
- func (c Admin) RedirectToSlug(id int) revel.Result
- func (c Admin) Save(id int, title, subtitle, slugString, category, body, publish, image string) revel.Result
- func (c Admin) SaveNew(title, subtitle, category, body, image string) revel.Result
- func (c Admin) SaveTags(shortid int, tags string) revel.Result
- func (c Admin) Unpublish(id int) revel.Result
- type App
- type Blog
- func (c Blog) List() revel.Result
- func (c Blog) ListAll() revel.Result
- func (c Blog) ListCategory(category string) revel.Result
- func (c Blog) ListTag(category, tag string) revel.Result
- func (c Blog) RSS() revel.Result
- func (c Blog) RedirectToSlug(category string, id int) revel.Result
- func (c Blog) Show(category string, id int, slugString string) revel.Result
- type RssXml
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) Categories ¶
type App ¶
type App struct { *revel.Controller revmgo.MongoController }
type Blog ¶
type Blog struct { *revel.Controller revmgo.MongoController }
Click to show internal directories.
Click to hide internal directories.