Fix really fix redirect
This commit is contained in:
@@ -45,16 +45,13 @@ public class Plugin : BasePlugin<PluginConfiguration>, IHasWebPages
|
||||
{
|
||||
Name = Name,
|
||||
EmbeddedResourcePath = string.Format(CultureInfo.InvariantCulture, "{0}.Configuration.configPage.html", GetType().Namespace)
|
||||
},
|
||||
new PluginPageInfo
|
||||
{
|
||||
Name = "SRF Play Recordings",
|
||||
DisplayName = "SRF Sport Recordings",
|
||||
EmbeddedResourcePath = string.Format(CultureInfo.InvariantCulture, "{0}.Configuration.recordingPage.html", GetType().Namespace),
|
||||
EnableInMainMenu = true,
|
||||
MenuSection = "Live TV",
|
||||
MenuIcon = "fiber_smart_record"
|
||||
}
|
||||
|
||||
// Note: the recordings manager is intentionally NOT registered as a plugin
|
||||
// page. Plugin pages live under the admin Dashboard and are admin-gated, which
|
||||
// both caused a redirect to the recordings page and made it inaccessible to
|
||||
// normal users. Recordings are served as a standalone, user-accessible page at
|
||||
// GET /Plugins/SRFPlay/Recording/Page (see RecordingController).
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user