Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ReadOnlyResource ¶
type ReadOnlyResource struct {
// contains filtered or unexported fields
}
ReadOnlyResource has the routes in it for read-only
func NewReadOnlyResource ¶
func NewReadOnlyResource(manifest *assets.Manifest) ReadOnlyResource
NewReadOnlyResource creates a new ReadOnly instance
type Resource ¶
type Resource struct { ReadOnlyResource resources.Base // contains filtered or unexported fields }
Resource is a complete buffalo.Resource for screencasts
func (Resource) Create ¶
Create adds a Screencast to the DB. This function is mapped to the path POST /screencasts
func (Resource) Destroy ¶
Destroy deletes a Screencast from the DB. This function is mapped to the path DELETE /screencasts/{_id}
func (Resource) Edit ¶
Edit renders a edit form for a Screencast. This function is mapped to the path GET /screencasts/{_id}/edit
Click to show internal directories.
Click to hide internal directories.