mirror of
https://github.com/discourse/discourse.git
synced 2025-05-25 19:29:34 +08:00
FIX: Broken build
This commit is contained in:
@ -25,7 +25,7 @@ export function registerHelper(name, fn) {
|
||||
}
|
||||
|
||||
export function findHelper(name) {
|
||||
return _helpers[name];
|
||||
return _helpers[name] || _helpers[name.dasherize()];
|
||||
}
|
||||
|
||||
export function registerHelpers(registry) {
|
||||
|
Reference in New Issue
Block a user