Fix copy/paste error in resource error message
This commit is contained in:
parent
3236ec0aea
commit
04ff12a206
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ impl HelperDef for ResourceHelper {
|
||||||
) -> Result<(), RenderError> {
|
) -> Result<(), RenderError> {
|
||||||
let param = h.param(0).and_then(|v| v.value().as_str()).ok_or_else(|| {
|
let param = h.param(0).and_then(|v| v.value().as_str()).ok_or_else(|| {
|
||||||
RenderErrorReason::Other(
|
RenderErrorReason::Other(
|
||||||
"Param 0 with String type is required for theme_option helper.".to_owned(),
|
"Param 0 with String type is required for resource helper.".to_owned(),
|
||||||
)
|
)
|
||||||
})?;
|
})?;
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue