gobuffalo / buffalo

Rapid Web Development w/ Go
http://gobuffalo.io
MIT License
8.08k stars 576 forks source link

Provide an error if -(dash) in a helper name. #512

Closed derekbassett closed 7 years ago

derekbassett commented 7 years ago

Accidentally created a Helper with a - (dash) in the name of a helper. This caused unexpected behavior. It would be nice to throw a warning or provide support for - inside of helpers.

markbates commented 7 years ago

Fixed here: https://github.com/gobuffalo/plush/commit/787883a7c0f2b62d2ff22531a9ad969d55c0a5ab