Browse Source

Update ThemeExtensions.cs

pull/6569/head
Halil İbrahim Kalkan 6 years ago
parent
commit
28762d0053
  1. 7
      framework/src/Volo.Abp.AspNetCore.Mvc.UI/Volo/Abp/AspNetCore/Mvc/UI/Theming/ThemeExtensions.cs

7
framework/src/Volo.Abp.AspNetCore.Mvc.UI/Volo/Abp/AspNetCore/Mvc/UI/Theming/ThemeExtensions.cs

@ -12,9 +12,14 @@
return theme.GetLayout(StandardLayouts.Account, fallbackToDefault);
}
public static string GetPublicLayout(this ITheme theme, bool fallbackToDefault = true)
{
return theme.GetLayout(StandardLayouts.Public, fallbackToDefault);
}
public static string GetEmptyLayout(this ITheme theme, bool fallbackToDefault = true)
{
return theme.GetLayout(StandardLayouts.Empty, fallbackToDefault);
}
}
}
}

Loading…
Cancel
Save