Created
January 21, 2018 18:25
-
-
Save ntakouris/dae423081ce63a05efcf9c42b69dec73 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package actions | |
import "github.com/gobuffalo/buffalo" | |
// ActionNameActionActionNameHandler default implementation. | |
func ActionNameActionActionNameHandler(c buffalo.Context) error { | |
return c.Render(200, r.HTML("<action-name>/<action-name-handler>.html")) | |
//or | |
return c.Render(200, r.HTML("<action-name>/<action-name-handler>_skip_template.html")) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment