forked from didirus/AstralRinth
Fix #11 and Cleanup dependencies
This commit is contained in:
@@ -1,8 +1,13 @@
|
||||
mod contains;
|
||||
mod format_human;
|
||||
mod equals;
|
||||
|
||||
use handlebars::*;
|
||||
|
||||
pub fn register_helpers(handlebars: &mut Handlebars) {
|
||||
handlebars.register_helper("contains", Box::new(contains::ContainsHelper));
|
||||
handlebars.register_helper("format", Box::new(format_human::HumanFormatHelper));
|
||||
|
||||
//This helper is not used yet, but could be useful in many circumstances
|
||||
handlebars.register_helper("equals", Box::new(equals::EqualsHelper));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user