mirror of https://github.com/abpframework/abp
parent
aedc1d63c6
commit
d34a04adfd
@ -0,0 +1,3 @@
|
||||
@using Microsoft.AspNetCore.Mvc.Localization
|
||||
@inject IViewLocalizer Localizer
|
||||
@Localizer["Hello <b>{0}</b>.", "John"]
|
@ -1,5 +0,0 @@
|
||||
@using Volo.Abp.Ui
|
||||
<h2>Exception test</h2>
|
||||
@{
|
||||
throw new UserFriendlyException("test exception!");
|
||||
}
|
Loading…
Reference in new issue